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

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

Issue 9117010: Fix frogsh + Windows + test.dart take 2 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 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 | « frog/scripts/bootstrap/frogsh_bootstrap_wrapper.py ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_runner.dart
===================================================================
--- tools/testing/dart/test_runner.dart (revision 3517)
+++ tools/testing/dart/test_runner.dart (working copy)
@@ -243,6 +243,12 @@
void runCommand(String executable,
List<String> arguments,
void exitHandler(int exitCode)) {
+ if (new Platform().operatingSystem() == 'windows') {
+ // Windows can't handle the first command if it is a .bat file or the like
+ // with the slashes going the other direction.
+ // TODO(efortuna): Remove this when fixed (Issue 1306).
+ executable = executable.replaceAll('/', '\\');
+ }
process = new Process.start(executable, arguments);
process.exitHandler = exitHandler;
startTime = new Date.now();
« no previous file with comments | « frog/scripts/bootstrap/frogsh_bootstrap_wrapper.py ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698