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

Unified Diff: tools/run-tests.py

Issue 11193055: Fix test runner for Android. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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 | « test/cctest/testcfg.py ('k') | tools/testrunner/local/commands.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/run-tests.py
diff --git a/tools/run-tests.py b/tools/run-tests.py
index 5d90d1947e98efc831292d0fd251a2283d52d2a4..a49f6560a6a6062ec657620f9a91d14b4563fcdc 100755
--- a/tools/run-tests.py
+++ b/tools/run-tests.py
@@ -60,6 +60,13 @@ MODE_FLAGS = {
"--enable-slow-asserts", "--debug-code", "--verify-heap"],
"release" : ["--nobreak-on-abort", "--nodead-code-elimination"]}
+SUPPORTED_ARCHS = ["android_arm",
+ "android_ia32",
+ "arm",
+ "ia32",
+ "mipsel",
+ "x64"]
+
def BuildOptions():
result = optparse.OptionParser()
@@ -150,7 +157,7 @@ def ProcessOptions(options):
options.arch = ARCH_GUESS
options.arch = options.arch.split(",")
for arch in options.arch:
- if not arch in ['ia32', 'x64', 'arm', 'mipsel']:
+ if not arch in SUPPORTED_ARCHS:
print "Unknown architecture %s" % arch
return False
« no previous file with comments | « test/cctest/testcfg.py ('k') | tools/testrunner/local/commands.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698