Index: tools/test.py |
diff --git a/tools/test.py b/tools/test.py |
index 69b9ed814d9e961a7c77b9394e3163c3affe761e..9a32fa597bf68faeae573e8cf4e4210aeff5a12f 100755 |
--- a/tools/test.py |
+++ b/tools/test.py |
@@ -16,7 +16,8 @@ def Main(): |
tools_dir = os.path.dirname(os.path.realpath(__file__)) |
dart_script_name = 'test.dart' |
dart_test_script = string.join([tools_dir, dart_script_name], os.sep) |
- command = [utils.DartBinary(), '--checked', dart_test_script] + args |
+ command = [utils.CheckedInSdkExecutable(), |
+ '--checked', dart_test_script] + args |
exit_code = subprocess.call(command) |
utils.DiagnoseExitCode(exit_code, command) |
return exit_code |