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

Unified Diff: tools/test.dart

Issue 11364129: Added support for logging the output of failed flaky tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/test-runtime.dart » ('j') | tools/testing/dart/test_progress.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test.dart
diff --git a/tools/test.dart b/tools/test.dart
index 2e4990d2a7cfcbe4f18248b6d9d157ad180c7eed..2adc157c717a2f08609d0118a9e3963c17c6c2c9 100755
--- a/tools/test.dart
+++ b/tools/test.dart
@@ -81,6 +81,14 @@ main() {
var verbose = firstConf['verbose'];
var printTiming = firstConf['time'];
var listTests = firstConf['list'];
+ var appendFlakyLog = firstConf['append_flaky_log'];
+
+ if (!appendFlakyLog) {
+ var file = new File(FAILED_FLAKY_TESTS_LOGFILE);
+ if (file.existsSync()) {
+ file.deleteSync();
+ }
+ }
// Print the configurations being run by this execution of
// test.dart. However, don't do it if the silent progress indicator
« no previous file with comments | « no previous file | tools/test-runtime.dart » ('j') | tools/testing/dart/test_progress.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698