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

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

Issue 1731023003: - Include a random number in the full snapshot filename as some of the tests (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: code-review Created 4 years, 9 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
« no previous file with comments | « tools/testing/dart/compiler_configuration.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | 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 library test_configurations; 5 library test_configurations;
6 6
7 import "dart:async"; 7 import "dart:async";
8 import 'dart:io'; 8 import 'dart:io';
9 import "dart:math" as math; 9 import "dart:math" as math;
10 10
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 } 218 }
219 } 219 }
220 220
221 void allTestsFinished() { 221 void allTestsFinished() {
222 for (var conf in configurations) { 222 for (var conf in configurations) {
223 if (conf.containsKey('_servers_')) { 223 if (conf.containsKey('_servers_')) {
224 conf['_servers_'].stopServers(); 224 conf['_servers_'].stopServers();
225 } 225 }
226 } 226 }
227 DebugLogger.close(); 227 DebugLogger.close();
228 TestUtils.deleteTempSnapshotDirectory(configurations[0]);
228 } 229 }
229 230
230 var eventListener = []; 231 var eventListener = [];
231 232
232 // We don't print progress if we list tests. 233 // We don't print progress if we list tests.
233 if (progressIndicator != 'silent' && !listTests) { 234 if (progressIndicator != 'silent' && !listTests) {
234 var printFailures = true; 235 var printFailures = true;
235 var formatter = new Formatter(); 236 var formatter = new Formatter();
236 if (progressIndicator == 'color') { 237 if (progressIndicator == 'color') {
237 progressIndicator = 'compact'; 238 progressIndicator = 'compact';
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 recordingOutputPath); 291 recordingOutputPath);
291 } 292 }
292 293
293 // Start all the HTTP servers required before starting the process queue. 294 // Start all the HTTP servers required before starting the process queue.
294 if (serverFutures.isEmpty) { 295 if (serverFutures.isEmpty) {
295 startProcessQueue(); 296 startProcessQueue();
296 } else { 297 } else {
297 Future.wait(serverFutures).then((_) => startProcessQueue()); 298 Future.wait(serverFutures).then((_) => startProcessQueue());
298 } 299 }
299 } 300 }
OLDNEW
« no previous file with comments | « tools/testing/dart/compiler_configuration.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698