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

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

Issue 10824095: Get basic Windows stuff working. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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
« utils/pub/io.dart ('K') | « utils/tests/pub/pub.status ('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 09883f07abf81ef498ec69a1393c718018f318b6..852a64af63566eace47b7a2dd2abbd17450f3cfb 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -254,6 +254,8 @@ void schedulePub([List<String> args, Pattern output, Pattern error,
var platform = Platform.operatingSystem;
var dartBin = join(scriptDir, '../../../tools/testing/bin/$platform/dart');
+ if (platform == 'windows') dartBin = '$dartBin.exe';
nweiz 2012/07/30 23:03:39 Are you sure this will work on the buildbots?
Bob Nystrom 2012/07/30 23:42:33 This is just adding ".exe" to the end. It should w
+
// Find the main pub entrypoint.
var pubPath = fs.joinPaths(scriptDir, '../../pub/pub.dart');
« utils/pub/io.dart ('K') | « utils/tests/pub/pub.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698