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

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

Issue 282173004: test.dart: Handle checkout paths containing spaces. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | « tools/test.dart ('k') | tools/testing/dart/drt_updater.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/co19_test.dart
===================================================================
--- tools/testing/dart/co19_test.dart (revision 36288)
+++ tools/testing/dart/co19_test.dart (working copy)
@@ -20,7 +20,6 @@
import "test_options.dart";
import "test_suite.dart";
-import "utils.dart" show Path;
import "../../test.dart" as test_dart;
const List<String> COMMON_ARGUMENTS =
@@ -44,10 +43,7 @@
];
void main(List<String> args) {
- File scriptFile = new File(new Path(Platform.script.path).toNativePath());
- Path scriptPath = new Path(scriptFile.absolute.path)
- .directoryPath.directoryPath.directoryPath.append('test.dart');
- TestUtils.testScriptPath = scriptPath.toNativePath();
+ TestUtils.setDartDirUri(Platform.script.resolve('../../..'));
var optionsParser = new TestOptionsParser();
List<Map> configurations = <Map>[];
for (var commandLine in COMMAND_LINES) {
« no previous file with comments | « tools/test.dart ('k') | tools/testing/dart/drt_updater.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698