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

Unified Diff: compiler/javatests/com/google/dart/corelib/SharedTests.java

Issue 9315036: Change output of test.dart --list option, so it can be parsed automatically. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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: compiler/javatests/com/google/dart/corelib/SharedTests.java
diff --git a/compiler/javatests/com/google/dart/corelib/SharedTests.java b/compiler/javatests/com/google/dart/corelib/SharedTests.java
index 6be78b7ed480e36f00d74888d0e685d027a953aa..498c4b76069d7664911f40c7e7187fa05106ce57 100644
--- a/compiler/javatests/com/google/dart/corelib/SharedTests.java
+++ b/compiler/javatests/com/google/dart/corelib/SharedTests.java
@@ -70,7 +70,10 @@ public class SharedTests extends TestSetup {
String line;
while ((line = lineReader.readLine()) != null) {
if (!line.startsWith("dartc/")) {
- suite.addTest(SharedTestCase.getInstance(line, false));
+ Test result = SharedTestCase.getInstance(line, false);
+ if (result != null) {
+ suite.addTest(result);
+ }
} else if (line.startsWith("dartc/client/")) {
suite.addTest(SharedTestCase.getInstance(line, true));
}

Powered by Google App Engine
This is Rietveld 408576698