| Index: tools/testrunner/local/utils.py
|
| diff --git a/tools/testrunner/local/utils.py b/tools/testrunner/local/utils.py
|
| index 61ee7dac67bed1f6699b5757ceeb0eab4d8ee12a..508709f87d2d108a4f8901b337a1ebf25197e042 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") 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():
|
|
|