| Index: tools/testrunner/local/utils.py
|
| diff --git a/tools/testrunner/local/utils.py b/tools/testrunner/local/utils.py
|
| index 61ee7dac67bed1f6699b5757ceeb0eab4d8ee12a..efd609270d044d06e53f8da5e2767ac3dc88a6b7 100644
|
| --- a/tools/testrunner/local/utils.py
|
| +++ b/tools/testrunner/local/utils.py
|
| @@ -78,6 +78,13 @@ def GuessOS():
|
| return None
|
|
|
|
|
| +def UseSimulator(arch):
|
| + machine = platform.machine()
|
| + return (machine and
|
| + (arch == "mipsel" or arch == "arm" or arch == "a64") and
|
| + not arch.startswith(machine))
|
| +
|
| +
|
| # This will default to building the 32 bit VM even on machines that are
|
| # capable of running the 64 bit VM.
|
| def DefaultArch():
|
|
|