Index: tools/run-tests.py |
diff --git a/tools/run-tests.py b/tools/run-tests.py |
index f905c03d3f63789d39254ec978966e830f769653..1f134d1dfcb4755eb6ab588f6e0048baaf228345 100755 |
--- a/tools/run-tests.py |
+++ b/tools/run-tests.py |
@@ -33,6 +33,7 @@ import multiprocessing |
import optparse |
import os |
from os.path import join |
+import platform |
import shlex |
import subprocess |
import sys |
@@ -396,10 +397,16 @@ def Execute(arch, mode, args, options, suites, workspace): |
"mode": mode, |
"no_i18n": options.no_i18n, |
"system": utils.GuessOS(), |
+ "sim": False, |
} |
all_tests = [] |
num_tests = 0 |
test_id = 0 |
+ machine = platform.machine() |
+ if (machine and |
+ (arch == "mipsel" or arch == "arm") and |
+ not arch.startswith(machine)): |
+ variables["sim"] = True |
Jakob Kummerow
2014/01/30 09:51:09
Overwriting this after the fact is confusing. Plea
kilvadyb
2014/01/30 10:34:50
Done.
|
for s in suites: |
s.ReadStatusFile(variables) |
s.ReadTestCases(ctx) |