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

Unified Diff: pkg/intl/test/start_web_server.dart

Issue 10961034: Be sure to use absolute paths in intl web server tests (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | « pkg/intl/test/date_time_format_http_request_test.dart ('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: pkg/intl/test/start_web_server.dart
===================================================================
--- pkg/intl/test/start_web_server.dart (revision 12664)
+++ pkg/intl/test/start_web_server.dart (working copy)
@@ -12,11 +12,13 @@
#import("dart:isolate");
main() {
+ var thisDir = new File(new Options().script).directorySync();
+ var serverPath = "{$thisDir.path}pkg/intl/test/web_server.dart";
// TODO(alanknight): This uses nohup and & to stop the child process from
// stopping when we exit. This won't work on Windows.
var p = Process.start(
"nohup",
- [new Options().executable, "pkg/intl/test/web_server.dart", "&"]);
+ [new Options().executable, serverPath, "&"]);
p.onExit = (p) => print("Exited abnormally with exit code: $p");
// Give the other process a moment to fully start, and give us a meaningful
// exit code if there's an abnormal exit, before we finish.
« no previous file with comments | « pkg/intl/test/date_time_format_http_request_test.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698