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

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

Issue 8636012: Make Dart test scripts work for the VM on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | « tools/testing/dart/test_runner.dart ('k') | 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 5c0852761a1d16c824a2e9f5383f9c7ad8cd6570..5016e41c4e817ecb3b8067602dc7bf6f47470ac7 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -281,16 +281,18 @@ class StandardTestSuite implements TestSuite {
class TestUtils {
static String executableName(Map configuration) {
+ String postfix =
+ (new Platform().operatingSystem() == 'windows') ? '.exe' : '';
switch (configuration['component']) {
case 'vm':
- return 'dart';
+ return 'dart$postfix';
case 'dartc':
- return 'compiler/bin/dartc_test';
+ return 'compiler/bin/dartc_test$postfix';
case 'frog':
case 'leg':
- return 'frog/bin/frog';
+ return 'frog/bin/frog$postfix';
case 'frogsh':
- return 'frog/bin/frogsh';
+ return 'frog/bin/frogsh$postfix';
default:
throw "Unknown executable for: ${configuration['component']}";
}
« no previous file with comments | « tools/testing/dart/test_runner.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698