Index: utils/tests/pub/test_pub.dart |
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart |
index d9eebeca7cda52e068643bc4ebc14f6b20aabd70..e5ead3382ceccf8ec570a3452682721e3b2b7942 100644 |
--- a/utils/tests/pub/test_pub.dart |
+++ b/utils/tests/pub/test_pub.dart |
@@ -137,7 +137,7 @@ Future<ProcessResult> _runPub(List<String> pubArgs, String workingDir) { |
// test infrastructure uses. |
final scriptDir = new File(new Options().script).directorySync().path; |
final platform = Platform.operatingSystem; |
- final dartBin = join(scriptDir, '../../../tools/testing/bin/$platform/dart'); |
+ final dartBin = new File(new Options().executable).fullPathSync(); |
// Find the main pub entrypoint. |
final pubPath = fs.joinPaths(scriptDir, '../../pub/pub.dart'); |