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

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

Issue 95603002: Add .test-outcome.log support to test.dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | « dart/tools/testing/dart/test_progress.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/testing/dart/test_suite.dart
diff --git a/dart/tools/testing/dart/test_suite.dart b/dart/tools/testing/dart/test_suite.dart
index 867d3749c51713c6bd91c90c89b507d2abbfd51c..97453870e9589ac7d519806d2de68b4b1124ab6d 100644
--- a/dart/tools/testing/dart/test_suite.dart
+++ b/dart/tools/testing/dart/test_suite.dart
@@ -1782,6 +1782,12 @@ class TestUtils {
return ".flaky.log";
}
+ static String testOutcomeFileName() {
+ // If test.py was invoked with '--write-test-outcome-log it will write
+ // test outcomes to this file.
+ return ".test-outcome.log";
+ }
+
static void ensureExists(String filename, Map configuration) {
if (!configuration['list'] && !(new File(filename).existsSync())) {
throw "Executable '$filename' does not exist";
@@ -1917,8 +1923,8 @@ class TestUtils {
*/
static List<String> getExtraVmOptions(Map configuration) {
var extraVmOptions = [];
- if (configuration['vm-options'] != null) {
- extraVmOptions = configuration['vm-options'].split(" ");
+ if (configuration['vm_options'] != null) {
+ extraVmOptions = configuration['vm_options'].split(" ");
extraVmOptions.removeWhere((s) => s.trim() == "");
}
return extraVmOptions;
« no previous file with comments | « dart/tools/testing/dart/test_progress.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698