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

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

Issue 431593002: Allow analysis server integration tests to run without package root. (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 | no next file » | 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 a565119025715492857fc9af435e0aa7871a7721..10dc563717fa992ef35660e970038441c88f7b82 100644
--- a/pkg/analysis_server/test/integration/integration_tests.dart
+++ b/pkg/analysis_server/test/integration/integration_tests.dart
@@ -516,7 +516,9 @@ class Server {
if (debugServer) {
arguments.add('--debug');
}
- arguments.add('--package-root=${Platform.packageRoot}');
+ if (Platform.packageRoot.isNotEmpty) {
+ arguments.add('--package-root=${Platform.packageRoot}');
+ }
arguments.add(serverPath);
return Process.start(dartBinary, arguments).then((Process process) {
Server server = new Server._(process);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698