Index: tools/run-tests.py |
diff --git a/tools/run-tests.py b/tools/run-tests.py |
index 5185417da742263de3f24576e9a3a56ed2719ec5..103c40dd3fe9f40b8867466ff572e8b7c838d6e9 100755 |
--- a/tools/run-tests.py |
+++ b/tools/run-tests.py |
@@ -784,7 +784,7 @@ def Execute(arch, mode, args, options, suites): |
simulator_run = not options.dont_skip_simulator_slow_tests and \ |
arch in ['arm64', 'arm', 'mipsel', 'mips', 'mips64', 'mips64el', \ |
'ppc', 'ppc64', 's390', 's390x'] and \ |
- ARCH_GUESS and arch != ARCH_GUESS |
+ bool(ARCH_GUESS) and arch != ARCH_GUESS |
# Find available test suites and read test cases from them. |
variables = { |
"arch": arch, |