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 |