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

Unified Diff: tests/standalone/io/process_environment_test.dart

Issue 10380026: Add executable to Options interface to get the name of the executable used to execute the script. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
Index: tests/standalone/io/process_environment_test.dart
diff --git a/tests/standalone/io/process_environment_test.dart b/tests/standalone/io/process_environment_test.dart
index d5796eb6538e19bf5b6b2c20bd458b6ca4640d0e..26d5f4b23efa137363aff9dec6daa165dbb5187d 100644
--- a/tests/standalone/io/process_environment_test.dart
+++ b/tests/standalone/io/process_environment_test.dart
@@ -7,7 +7,7 @@
#source('process_test_util.dart');
runEnvironmentProcess(Map environment, name, callback) {
- var dartExecutable = getDartFileName();
+ var dartExecutable = new Options().executable;
var options = new ProcessOptions();
options.environment = environment;
var printEnv = 'tests/standalone/io/print_env.dart';

Powered by Google App Engine
This is Rietveld 408576698