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

Unified Diff: tests/stub-generator/test_config.dart

Issue 8835008: Correctly handle the --arch argument to dart test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typo Created 9 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 | « no previous file | tools/test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/stub-generator/test_config.dart
diff --git a/tests/stub-generator/test_config.dart b/tests/stub-generator/test_config.dart
index 91ce5bb4f01fce133a74f2d737b5d9da1ea7a48b..013913fe23ff7cb6ac7709b242c3cdbd4a0ec9f0 100644
--- a/tests/stub-generator/test_config.dart
+++ b/tests/stub-generator/test_config.dart
@@ -81,12 +81,15 @@ class StubGeneratorTestSuite extends StandardTestSuite {
File stubsOutFile = new File("${temp.path}/${interfaceFile}");
stubsOutFile.createSync();
String stubsPath = stubsOutFile.fullPathSync();
- Process dartcProcess = new Process(dartcPath,
- [filename,
- '-noincremental',
- '-out', temp.path,
- '-isolate-stub-out', stubsPath,
- '-generate-isolate-stubs', classes ]);
+ List<String> args = [filename,
+ '-noincremental',
+ '-out', temp.path,
+ '-isolate-stub-out', stubsPath,
+ '-generate-isolate-stubs', classes ];
+ if (configuration['verbose']) {
+ print("# $dartcPath ${Strings.join(args, ' ')}");
+ }
+ Process dartcProcess = new Process(dartcPath, args);
dartcProcess.exitHandler = (int exitCode) {
combineFiles(filename, stubsPath, onGenerated);
};
« no previous file with comments | « no previous file | tools/test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698