Allow -a to be passed with jitflags in jit-tests, NPOTB
authorDavid Mandelin <dmandelin@mozilla.com>
Fri, 25 Feb 2011 13:09:58 -0800
changeset 63148 d2f6db22db10a530482854838e684235a00204d8
parent 63147 4c3e3695b8e14350fd73d572047eef1fd8a4cff9
child 63149 8323a963fd6c473e0890972d783775ae6f45a7e3
push id19043
push userrsayre@mozilla.com
push dateSun, 27 Feb 2011 15:29:23 +0000
treeherdermozilla-central@04e69fadcbcd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0b12pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Allow -a to be passed with jitflags in jit-tests, NPOTB
js/src/jit-test/jit_test.py
--- a/js/src/jit-test/jit_test.py
+++ b/js/src/jit-test/jit_test.py
@@ -290,17 +290,17 @@ def run_tests(tests, test_dir, lib_dir):
         print('PASSED ALL' + ('' if complete else ' (partial run -- interrupted by user %s)'%doing))
         return True
 
 def parse_jitflags():
     jitflags = [ [ '-' + flag for flag in flags ] 
                  for flags in OPTIONS.jitflags.split(',') ]
     for flags in jitflags:
         for flag in flags:
-            if flag not in ('-j', '-m', '-p', '-d'):
+            if flag not in ('-j', '-m', '-a', '-p', '-d'):
                 print('Invalid jit flag: "%s"'%flag)
                 sys.exit(1)
     return jitflags
 
 def platform_might_be_android():
     try:
         # The python package for SL4A provides an |android| module.
         # If that module is present, we're likely in SL4A-python on