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

Unified Diff: dart/tools/test.dart

Issue 10905208: Add --step_name option to test.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 3 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 | dart/tools/testing/dart/test_options.dart » ('j') | dart/utils/compiler/buildbot.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/test.dart
diff --git a/dart/tools/test.dart b/dart/tools/test.dart
index e73685acf32949c54d31ff8686199c40c95b919c..d4eb44cd53d864e498377f859b8db2bf4f077c49 100755
--- a/dart/tools/test.dart
+++ b/dart/tools/test.dart
@@ -75,10 +75,15 @@ main() {
Map<String, RegExp> selectors = firstConf['selectors'];
var maxProcesses = firstConf['tasks'];
var progressIndicator = firstConf['progress'];
+ var stepName = firstConf['step_name'];
Bill Hesse 2012/09/11 10:26:53 How about BuildbotProgressIndicator.stepName = fir
var verbose = firstConf['verbose'];
var printTiming = firstConf['time'];
var listTests = firstConf['list'];
+ if (progressIndicator == 'buildbot' && stepName !== null) {
ricow1 2012/09/11 08:14:38 I am not particularly happy about having buildbot
+ print('@@@BUILD_STEP $stepName@@@');
+ }
+
// Print the configurations being run by this execution of
// test.dart. However, don't do it if the silent progress indicator
// is used. This is only needed because of the junit tests.
@@ -132,5 +137,6 @@ main() {
printTiming,
enqueueConfiguration,
verbose,
- listTests);
+ listTests,
+ stepName);
}
« no previous file with comments | « no previous file | dart/tools/testing/dart/test_options.dart » ('j') | dart/utils/compiler/buildbot.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698