Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: tools/testing/dart/test_options.dart

Issue 8539044: Enable co19 test suite on dart test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/testing/dart/status_file_parser.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_options.dart
diff --git a/tools/testing/dart/test_options.dart b/tools/testing/dart/test_options.dart
index e66b3cc09055d3528153d284b250e23d8a566781..00e4a9b7cbfcb8082ab70074abe2c87fc527f89c 100644
--- a/tools/testing/dart/test_options.dart
+++ b/tools/testing/dart/test_options.dart
@@ -4,7 +4,7 @@
#library("test_options_parser");
-List<String> defaultTestSelectors = const ['standalone', 'corelib'];
+List<String> defaultTestSelectors = const ['standalone', 'corelib', 'co19'];
/**
* Specification of a single test option.
@@ -57,9 +57,9 @@ class TestOptionsParser {
['all', 'ia32', 'x64', 'simarm'],
'ia32'),
new _TestOptionSpecification(
- 'os',
+ 'system',
'The operating system to run tests on',
- ['-o', '--os'],
+ ['-s', '--system'],
['linux', 'macos', 'windows'],
new Platform().operatingSystem()),
new _TestOptionSpecification(
@@ -203,6 +203,10 @@ class TestOptionsParser {
configuration['component'] = 'vm,dartc';
}
+ // Create the artificial 'unchecked' option that test status files
+ // expect.
+ configuration['unchecked'] = !configuration['checked'];
+
// Expand the test selectors into simple regular expressions to be
// used on the full path of a test file. If no selectors are
// explicitly given use the default suite patterns.
« no previous file with comments | « tools/testing/dart/status_file_parser.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698