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

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

Issue 100363003: co19-roll to r672 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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 | « dart/tests/co19/co19-runtime.status ('k') | deps/all.deps/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/testing/dart/co19_test.dart
diff --git a/dart/tools/testing/dart/co19_test.dart b/dart/tools/testing/dart/co19_test.dart
index dc28b474c82f4b6c332818862b47b7e84ba22bf3..e793344a86090779d86c7be76e84dd3532f99a6a 100644
--- a/dart/tools/testing/dart/co19_test.dart
+++ b/dart/tools/testing/dart/co19_test.dart
@@ -42,13 +42,14 @@ const List<List<String>> COMMAND_LINES = const <List<String>>[
'--minified'],
const <String>['-mrelease', '-rd8,jsshell', '-cdart2js', '--use-sdk',
'--checked'],
+ const <String>['-mrelease', '-rdartium', '-cnone', '--use-sdk',
+ '--checked'],
+ const <String>['-mrelease', '-rdartium', '-cnone', '--use-sdk'],
];
-void main() {
- Options options = new Options();
- File scriptFile = new File(options.script);
- Path scriptPath =
- new Path(scriptFile.fullPathSync())
+void main(List<String> args) {
+ File scriptFile = new File(new Path(Platform.script.path).toNativePath());
+ Path scriptPath = new Path(scriptFile.absolute.path)
.directoryPath.directoryPath.directoryPath.append('test.dart');
TestUtils.testScriptPath = scriptPath.toNativePath();
var optionsParser = new TestOptionsParser();
@@ -56,7 +57,7 @@ void main() {
for (var commandLine in COMMAND_LINES) {
List arguments = <String>[];
arguments.addAll(COMMON_ARGUMENTS);
- arguments.addAll(options.arguments);
+ arguments.addAll(args);
arguments.addAll(commandLine);
configurations.addAll(optionsParser.parse(arguments));
}
« no previous file with comments | « dart/tests/co19/co19-runtime.status ('k') | deps/all.deps/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698