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

Unified Diff: utils/tests/pub/test_pub.dart

Issue 10392023: Change dart:io to use Future for one-shot operations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding stable test binaries Created 8 years, 7 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 | « utils/tests/pub/pub_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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');
« no previous file with comments | « utils/tests/pub/pub_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698