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

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

Issue 1581393008: Rename DART_PRECOMPILED -> DART_PRECOMPILED_RUNTIME (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comment Created 4 years, 11 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/precompilation/test_macos.sh ('k') | 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 TestUtils.ensureExists(dartExecutable, configuration); 211 TestUtils.ensureExists(dartExecutable, configuration);
212 return dartExecutable; 212 return dartExecutable;
213 } 213 }
214 214
215 String get dartPrecompiledBinaryFileName { 215 String get dartPrecompiledBinaryFileName {
216 // Controlled by user with the option "--dart_precompiled". 216 // Controlled by user with the option "--dart_precompiled".
217 String dartExecutable = configuration['dart_precompiled']; 217 String dartExecutable = configuration['dart_precompiled'];
218 218
219 if (dartExecutable == null || dartExecutable == '') { 219 if (dartExecutable == null || dartExecutable == '') {
220 String suffix = executableBinarySuffix; 220 String suffix = executableBinarySuffix;
221 dartExecutable = '$buildDir/dart_precompiled$suffix'; 221 dartExecutable = '$buildDir/dart_precompiled_runtime$suffix';
222 } 222 }
223 223
224 TestUtils.ensureExists(dartExecutable, configuration); 224 TestUtils.ensureExists(dartExecutable, configuration);
225 return dartExecutable; 225 return dartExecutable;
226 } 226 }
227 227
228 String get d8FileName { 228 String get d8FileName {
229 var suffix = getExecutableSuffix('d8'); 229 var suffix = getExecutableSuffix('d8');
230 var d8Dir = TestUtils.dartDir.append('third_party/d8'); 230 var d8Dir = TestUtils.dartDir.append('third_party/d8');
231 var d8Path = d8Dir.append('${Platform.operatingSystem}/d8$suffix'); 231 var d8Path = d8Dir.append('${Platform.operatingSystem}/d8$suffix');
(...skipping 2211 matching lines...) Expand 10 before | Expand all | Expand 10 after
2443 for (var key in PATH_REPLACEMENTS.keys) { 2443 for (var key in PATH_REPLACEMENTS.keys) {
2444 if (path.startsWith(key)) { 2444 if (path.startsWith(key)) {
2445 path = path.replaceFirst(key, PATH_REPLACEMENTS[key]); 2445 path = path.replaceFirst(key, PATH_REPLACEMENTS[key]);
2446 break; 2446 break;
2447 } 2447 }
2448 } 2448 }
2449 } 2449 }
2450 return path; 2450 return path;
2451 } 2451 }
2452 } 2452 }
OLDNEW
« no previous file with comments | « tools/precompilation/test_macos.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698