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

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

Issue 10234003: Fix summary report count of tests run by test.dart when tests are run on a browser. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index a7255dfec83eef2e62c2cd3a9106b8172ec25be2..ac5b802cf4e1d2c0ecfd5d0af3dfedf75523168a 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -392,6 +392,10 @@ class StandardTestSuite implements TestSuite {
if (configuration['report']) {
// Tests with multiple VMOptions are counted more than once.
for (var dummy in optionsFromFile["vmOptions"]) {
+ if (TestUtils.isBrowserRuntime(configuration['runtime']) &&
+ optionsFromFile['isMultitest']) {
+ break; // Browser tests skip multitests.
+ }
SummaryReport.add(expectations);
}
}
« 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