Add a --nox86 flag to allow disabling x86 tests
The x86 tests don't work on non-Linux systems.
diff --git a/libacc/tests/test.py b/libacc/tests/test.py
index bef9fc6..ab85f10 100644
--- a/libacc/tests/test.py
+++ b/libacc/tests/test.py
@@ -14,11 +14,15 @@
def parseArgv():
global gUseArm
+ global gUseX86
global gRunOTCCOutput
for arg in sys.argv[1:]:
if arg == "--noarm":
- print "--noarm detected, not testing on ARM"
+ print "--noarm: not testing ARM"
gUseArm = False
+ elif arg == "--nox86":
+ print "--nox86: not testing x86"
+ gUseX86 = False
elif arg == "--norunotcc":
print "--norunotcc detected, not running OTCC output"
gRunOTCCOutput = False