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

Side by Side Diff: tests/standalone/io/skipping_dart2js_compilations_test.dart

Issue 2466363003: Allow Platform.executable for JIT app snapshots. (Closed)
Patch Set: . Created 4 years, 1 month 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 | « tests/standalone/io/signals_test.dart ('k') | tests/standalone/io/stdin_sync_test.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 // OtherResources=skipping_dart2js_compilations_helper.dart
6
5 /* 7 /*
6 * This test makes sure that the "skipping Dart2Js compilations if the output is 8 * This test makes sure that the "skipping Dart2Js compilations if the output is
7 * already up to date" feature does work as it should. 9 * already up to date" feature does work as it should.
8 * Therefore this test ensures that compilations are only skipped if the last 10 * Therefore this test ensures that compilations are only skipped if the last
9 * modified date of the output of a dart2js compilation is newer than 11 * modified date of the output of a dart2js compilation is newer than
10 * - the dart application to compile (including it's dependencies) 12 * - the dart application to compile (including it's dependencies)
11 * - the dart2js snapshot 13 * - the dart2js snapshot
12 * Furtheremore it ensure that a compilations is not skipped if any of the 14 * Furtheremore it ensure that a compilations is not skipped if any of the
13 * necessary files could not be found (dart2js snapshots, previous dart2js 15 * necessary files could not be found (dart2js snapshots, previous dart2js
14 * output (+deps file), dart application) 16 * output (+deps file), dart application)
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 cleanup(); 242 cleanup();
241 throw error; 243 throw error;
242 }).then((_) { 244 }).then((_) {
243 cleanup(); 245 cleanup();
244 }); 246 });
245 } 247 }
246 // We need to wait some time to make sure that the files we 'touch' get a 248 // We need to wait some time to make sure that the files we 'touch' get a
247 // bigger timestamp than the old ones 249 // bigger timestamp than the old ones
248 new Timer(new Duration(seconds: 1), touchFilesAndRunTests); 250 new Timer(new Duration(seconds: 1), touchFilesAndRunTests);
249 } 251 }
OLDNEW
« no previous file with comments | « tests/standalone/io/signals_test.dart ('k') | tests/standalone/io/stdin_sync_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698