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

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

Issue 14769003: Switch to checked-in binary of d8 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 e888996786550c89ba56ad0a209ace3d88b4133a..ea8877b8f9cc5d212703a07467a9853be3b8ef3a 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -188,16 +188,6 @@ abstract class TestSuite {
}
}
- /**
- * The file name of the d8 executable.
- */
- String get d8FileName {
- var suffix = getExecutableSuffix('d8');
- var d8 = '$buildDir/d8$suffix';
- TestUtils.ensureExists(d8, configuration);
- return d8;
- }
-
String get dartShellFileName {
var name = configuration['dart'];
if (name == '') {
@@ -208,6 +198,14 @@ abstract class TestSuite {
return name;
}
+ String get d8FileName {
+ var suffix = getExecutableSuffix('d8');
+ var d8Dir = '${TestUtils.dartDir()}/third_party/d8';
+ var d8 = '$d8Dir/${Platform.operatingSystem}/d8$suffix';
+ TestUtils.ensureExists(d8, configuration);
+ return d8;
+ }
+
String get jsShellFileName {
var executableSuffix = getExecutableSuffix('jsshell');
var executable = 'jsshell$executableSuffix';
« 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