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

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

Issue 9475038: test.dart: add support for compiling multiple scripts for a single test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 years, 10 months 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/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_progress.dart
diff --git a/tools/testing/dart/test_progress.dart b/tools/testing/dart/test_progress.dart
index 0df366c8472bffd24ed045bff3148ca1c9fe9ed0..6be3a221c2a99ee0f02c9253350e9d9a4559e5e9 100644
--- a/tools/testing/dart/test_progress.dart
+++ b/tools/testing/dart/test_progress.dart
@@ -138,14 +138,12 @@ class ProgressIndicator {
output.add(s);
}
}
- if (test is BrowserTestCase && test.dynamic.compilerPath != null) {
+ for (Command c in test.commands) {
output.add('');
- output.add('Compilation command: ${test.dynamic.compilerPath} ' +
- Strings.join(test.dynamic.compilerArguments, ' '));
+ String message = (c == test.commands.last()
+ ? "Command line" : "Compilation command");
+ output.add('$message: ${c.commandLine}');
}
- output.add('');
- output.add('Command line: ${test.commandLine}');
-
for (String line in output) {
print(line);
}
@@ -228,7 +226,7 @@ class CompactIndicator extends ProgressIndicator {
void _printStartProgress(TestCase test) => _printProgress();
void _printDoneProgress(TestCase test) => _printProgress();
-
+
abstract void _printProgress();
}
« no previous file with comments | « no previous file | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698