From d3abe3c40de5709f2614aee49451d2d7e28150c3 Mon Sep 17 00:00:00 2001 From: Jack Palevich Date: Wed, 19 Aug 2009 11:12:56 -0700 Subject: [PATCH] Add a --nox86 flag to allow disabling x86 tests The x86 tests don't work on non-Linux systems. --- libacc/tests/test.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libacc/tests/test.py b/libacc/tests/test.py index bef9fc64e..ab85f10be 100644 --- a/libacc/tests/test.py +++ b/libacc/tests/test.py @@ -14,11 +14,15 @@ gRunOTCCOutput = True 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