355c73d4ee
- option --no-preview-dart-2 will now result in an error - change aot-assembly build rule to generate AOT snapshot using Dart 2 - generate coresnapshot using Dart 2 (this snapshot is not used yet, next CL which switch the isolate create code to use this snapshot) - by pass all Dart1 test runs in the status file - change the default compiler setting in test.py to use dartk - have test.py not pick up any configuration for --no-preview-dart-2 Change-Id: Ia136943ebfd0fed0c52683b330745b3e2c7a7ce6 Reviewed-on: https://dart-review.googlesource.com/75820 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Siva Annamalai <asiva@google.com>
15 lines
532 B
Dart
15 lines
532 B
Dart
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import "dart:io";
|
|
import "package:expect/expect.dart";
|
|
|
|
main() {
|
|
var result = Process.runSync(Platform.executable,
|
|
[Platform.script.resolve('./bad_snapshot').toFilePath()]);
|
|
print("=== stdout ===\n ${result.stdout}");
|
|
print("=== stderr ===\n ${result.stderr}");
|
|
Expect.equals(253, result.exitCode);
|
|
}
|