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

Unified Diff: tests/standalone/io/test_runner_exit_code_script.dart

Issue 11308179: Add --build-directory option to test.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix test_runner_exit_code_script.dart to set a buildbot step name. Created 8 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 | « no previous file | tools/testing/dart/test_options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/test_runner_exit_code_script.dart
diff --git a/tests/standalone/io/test_runner_exit_code_script.dart b/tests/standalone/io/test_runner_exit_code_script.dart
index f137022cf2056340ae79dc398f5e401f4771e5b8..37fbc8ef68a647bb14b5cbcdde498e8102281d75 100644
--- a/tests/standalone/io/test_runner_exit_code_script.dart
+++ b/tests/standalone/io/test_runner_exit_code_script.dart
@@ -14,6 +14,9 @@ main() {
var startTime = new Date.now();
var progress =
new ProgressIndicator.fromName(progressType, startTime, false);
Bill Hesse 2012/11/23 12:53:38 Added so that the test prints out a "step failed"
+ if (progressType == 'buildbot') {
+ BuildbotProgressIndicator.stepName = 'myStepName';
+ }
// Build a dummy test case.
var configuration = new TestOptionsParser().parse(['--timeout', '2'])[0];
var dummyCommand = new Command("noop", []);
« no previous file with comments | « no previous file | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698