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

Unified Diff: pkg/analysis_server/test/integration/integration_tests.dart

Issue 423283002: Fix analysis server integration tests on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/integration/integration_tests.dart
diff --git a/pkg/analysis_server/test/integration/integration_tests.dart b/pkg/analysis_server/test/integration/integration_tests.dart
index 4bd898cf6ddaf38f2ff29f488a7c914e2dcd0b13..a565119025715492857fc9af435e0aa7871a7721 100644
--- a/pkg/analysis_server/test/integration/integration_tests.dart
+++ b/pkg/analysis_server/test/integration/integration_tests.dart
@@ -508,7 +508,8 @@ class Server {
// TODO(paulberry): move the logic for finding the script, the dart
// executable, and the package root into a shell script.
String dartBinary = Platform.executable;
- String scriptDir = dirname(Platform.script.path);
+ String scriptDir = dirname(Platform.script.toFilePath(windows:
+ Platform.isWindows));
String serverPath = normalize(join(scriptDir, '..', '..', 'bin',
'server.dart'));
List<String> arguments = [];
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698