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

Unified Diff: tools/test_wrapper.py

Issue 9188037: Use test.py instead of test.dart on Windows and MacOS platforms for vm tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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: tools/test_wrapper.py
diff --git a/tools/test_wrapper.py b/tools/test_wrapper.py
index 51f945d9cf923973ae3b12ce9bebd89f3bc76fef..93dd09fcf4a67e6be781ecf9b1a90c64131f5596 100755
--- a/tools/test_wrapper.py
+++ b/tools/test_wrapper.py
@@ -22,7 +22,14 @@ def Main():
current_directory = os.path.abspath('');
client = os.path.abspath(os.path.join(tools_dir, '..'));
if current_directory == os.path.join(client, 'runtime'):
ngeoffray 2012/01/12 16:52:15 Add TODO to remove these lines?
- dart_script_name = 'test-runtime.dart'
+ if GuessOS() == "win32":
+ dart_script_name = 'test.py'
+ dart_binary = 'python'
+ elif GuessOS() == "macos":
+ dart_script_name = 'test.py'
+ dart_binary = 'python'
+ else:
+ dart_script_name = 'test-runtime.dart'
elif current_directory == os.path.join(client, 'compiler'):
dart_script_name = 'test-compiler.dart'
else:
« 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