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

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

Issue 17361003: Print out experimental test.py reproduction command (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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
Index: tools/testing/dart/test_progress.dart
diff --git a/tools/testing/dart/test_progress.dart b/tools/testing/dart/test_progress.dart
index bbe0cbb57a28d3da18b835154bca988c4c3bb001..1447c85b85910c90a3d30b4232d0be675d9a6b25 100644
--- a/tools/testing/dart/test_progress.dart
+++ b/tools/testing/dart/test_progress.dart
@@ -137,6 +137,15 @@ List<String> _buildFailureOutput(TestCase test,
output.add('Did not run');
}
}
+
+ var arguments = ['python', 'tools${Platform.pathSeparator}test.py'];
ricow1 2013/06/20 13:54:50 just write / python understands that, even on stra
kustermann 2013/06/20 14:17:24 "even on strange operating system": I like it :-)
+ arguments.addAll(test.configuration['_reproducing_arguments_']);
+ arguments.add(test.displayName);
+ var testPyCommandline = arguments.map(escapeCommandLineArgument).join(' ');
+
+ output.add('');
+ output.add('Short reproduction command (experimental):');
+ output.add(" $testPyCommandline");
return output;
}

Powered by Google App Engine
This is Rietveld 408576698