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

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

Issue 23475015: Seems like cc/ TestCases don't have a TestInformation object attached (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | 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 e05e7ab187f4f70152880260f1df6f99f14c3148..0b6904b50451117bbf0b3a123970f08b78962b45 100644
--- a/dart/tools/testing/dart/test_suite.dart
+++ b/dart/tools/testing/dart/test_suite.dart
@@ -287,8 +287,8 @@ abstract class TestSuite {
// Update Summary report
if (configuration['report']) {
SummaryReport.add(expectations);
-
- if (testCase.info.hasCompileError &&
+ if (testCase.info != null &&
+ testCase.info.hasCompileError &&
TestUtils.isBrowserRuntime(configuration['runtime']) &&
configuration['compiler'] != 'none') {
SummaryReport.addCompileErrorSkipTest();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698