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

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

Issue 10970060: Parameterize 'new Options().script'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments 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 | « no previous file | dart/tools/testing/dart/test_runner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/testing/dart/drt_updater.dart
diff --git a/dart/tools/testing/dart/drt_updater.dart b/dart/tools/testing/dart/drt_updater.dart
index 725f7e2132572fe2c0c005673210bb3d50d2030e..6713a88db761e889ed2adfa0aa73befa37251e80 100644
--- a/dart/tools/testing/dart/drt_updater.dart
+++ b/dart/tools/testing/dart/drt_updater.dart
@@ -6,6 +6,8 @@
#import("dart:io");
+#import("test_suite.dart");
+
class _DartiumUpdater {
String name;
String script;
@@ -34,7 +36,7 @@ class _DartiumUpdater {
}
List<String> get _getUpdateCommand {
- Path testScriptPath = new Path.fromNative(new Options().script);
+ Path testScriptPath = new Path.fromNative(TestUtils.testScriptPath);
Path updateScriptPath = testScriptPath.directoryPath.append(script);
List<String> command = [updateScriptPath.toNativePath()];
if (null !== option) {
« no previous file with comments | « no previous file | dart/tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698