mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 22:19:49 +00:00
Restore a strong mode analyzer cli test.
Bug: Change-Id: If9b459d99a3120071ba8f3a7bd9aa1d2e776bbd6 Reviewed-on: https://dart-review.googlesource.com/29443 Reviewed-by: Phil Quitslund <pquitslund@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
This commit is contained in:
parent
4804108735
commit
6346b18028
|
@ -15,7 +15,7 @@ import 'perf_report_test.dart' as perf_report_test;
|
|||
import 'reporter_test.dart' as reporter_test;
|
||||
import 'sdk_ext_test.dart' as sdk_ext_test;
|
||||
import 'super_mixin_test.dart' as super_mixin_test;
|
||||
//import 'strong_mode_test.dart' as strong_mode_test;
|
||||
import 'strong_mode_test.dart' as strong_mode_test;
|
||||
|
||||
main() {
|
||||
analysis_options_test.main();
|
||||
|
@ -31,7 +31,5 @@ main() {
|
|||
reporter_test.main();
|
||||
sdk_ext_test.main();
|
||||
super_mixin_test.main();
|
||||
// TODO(pq): fix tests to run safely on the bots
|
||||
// https://github.com/dart-lang/sdk/issues/25001
|
||||
//strong_mode_test.main();
|
||||
strong_mode_test.main();
|
||||
}
|
||||
|
|
|
@ -51,9 +51,11 @@ class BaseTest {
|
|||
/// [args] and an [options] file path. The value of [options] defaults to
|
||||
/// an empty options file to avoid unwanted configuration from an otherwise
|
||||
/// discovered options file.
|
||||
Future<Null> drive(String source,
|
||||
{String options: emptyOptionsFile,
|
||||
List<String> args: const <String>[]}) async {
|
||||
Future<Null> drive(
|
||||
String source, {
|
||||
String options: emptyOptionsFile,
|
||||
List<String> args: const <String>[],
|
||||
}) async {
|
||||
driver = new Driver(isTesting: true);
|
||||
var cmd = [
|
||||
'--options',
|
||||
|
|
|
@ -13,9 +13,7 @@ import 'package:test_reflective_loader/test_reflective_loader.dart';
|
|||
import 'driver_test.dart';
|
||||
|
||||
main() {
|
||||
// TODO(pq): fix tests to run safely on the bots
|
||||
// https://github.com/dart-lang/sdk/issues/25001
|
||||
// defineReflectiveTests(StrongModeTest);
|
||||
defineReflectiveTests(StrongModeTest);
|
||||
}
|
||||
|
||||
/// End-to-end test for --strong checking.
|
||||
|
|
Loading…
Reference in a new issue