Index: tools/run-tests.py |
diff --git a/tools/run-tests.py b/tools/run-tests.py |
index ec7021e55e8c5a956ff420da5b0fc482000abcb2..52f5c7f32aa763647eabfce371764265ea06ae93 100755 |
--- a/tools/run-tests.py |
+++ b/tools/run-tests.py |
@@ -388,13 +388,6 @@ def Execute(arch, mode, args, options, suites, workspace): |
options.no_i18n) |
# Find available test suites and read test cases from them. |
- machine = platform.machine() |
- if (machine and |
- (arch == "mipsel" or arch == "arm") and |
- not arch.startswith(machine)): |
- use_simulator = True |
- else: |
- use_simulator = False |
variables = { |
"arch": arch, |
"asan": options.asan, |
@@ -403,8 +396,8 @@ def Execute(arch, mode, args, options, suites, workspace): |
"isolates": options.isolates, |
"mode": mode, |
"no_i18n": options.no_i18n, |
+ "simulator": utils.UseSimulator(arch), |
"system": utils.GuessOS(), |
- "simulator": use_simulator, |
} |
all_tests = [] |
num_tests = 0 |