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

Side by Side Diff: tools/testing/dart/test_suite.dart

Issue 10831333: Increase the timeout for the dartc junit tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Classes and methods for enumerating and preparing tests. 6 * Classes and methods for enumerating and preparing tests.
7 * 7 *
8 * This library includes: 8 * This library includes:
9 * 9 *
10 * - Creating tests by listing all the Dart files in certain directories, 10 * - Creating tests by listing all the Dart files in certain directories,
(...skipping 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1168 '-Dcom.google.dart.corelib.SharedTests.test_py=$dartDir/tools/test.py', 1168 '-Dcom.google.dart.corelib.SharedTests.test_py=$dartDir/tools/test.py',
1169 'org.junit.runner.JUnitCore']; 1169 'org.junit.runner.JUnitCore'];
1170 args.addAll(testClasses); 1170 args.addAll(testClasses);
1171 1171
1172 // Lengthen the timeout for JUnit tests. It is normal for them 1172 // Lengthen the timeout for JUnit tests. It is normal for them
1173 // to run for a few minutes. 1173 // to run for a few minutes.
1174 Map updatedConfiguration = new Map(); 1174 Map updatedConfiguration = new Map();
1175 configuration.forEach((key, value) { 1175 configuration.forEach((key, value) {
1176 updatedConfiguration[key] = value; 1176 updatedConfiguration[key] = value;
1177 }); 1177 });
1178 updatedConfiguration['timeout'] *= 2; 1178 updatedConfiguration['timeout'] *= 3;
1179 doTest(new TestCase(suiteName, 1179 doTest(new TestCase(suiteName,
1180 [new Command('java', args)], 1180 [new Command('java', args)],
1181 updatedConfiguration, 1181 updatedConfiguration,
1182 completeHandler, 1182 completeHandler,
1183 new Set<String>.from([PASS]))); 1183 new Set<String>.from([PASS])));
1184 doDone(); 1184 doDone();
1185 } 1185 }
1186 1186
1187 void completeHandler(TestCase testCase) { 1187 void completeHandler(TestCase testCase) {
1188 } 1188 }
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 * $noCrash tests are expected to be flaky but not crash 1430 * $noCrash tests are expected to be flaky but not crash
1431 * $pass tests are expected to pass 1431 * $pass tests are expected to pass
1432 * $failOk tests are expected to fail that we won't fix 1432 * $failOk tests are expected to fail that we won't fix
1433 * $fail tests are expected to fail that we should fix 1433 * $fail tests are expected to fail that we should fix
1434 * $crash tests are expected to crash that we should fix 1434 * $crash tests are expected to crash that we should fix
1435 * $timeout tests are allowed to timeout 1435 * $timeout tests are allowed to timeout
1436 """; 1436 """;
1437 print(report); 1437 print(report);
1438 } 1438 }
1439 } 1439 }
OLDNEW
« 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