am d3abe3c4: Add a --nox86 flag to allow disabling x86 tests

Merge commit 'd3abe3c40de5709f2614aee49451d2d7e28150c3'

* commit 'd3abe3c40de5709f2614aee49451d2d7e28150c3':
  Add a --nox86 flag to allow disabling x86 tests
This commit is contained in:
Jack Palevich 2009-08-19 11:18:31 -07:00 committed by Android Git Automerger
commit 70a9519db7
1 changed files with 5 additions and 1 deletions

View File

@ -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