Bug 1105187 - Uplift the harness changes to fix jit-test failures. a=test-only
authorNicolas B. Pierron <nicolas.b.pierron@mozilla.com>
Fri, 28 Nov 2014 14:03:18 +0100
changeset 200537 b2a513d1a08d0b19057852ede33b8f516e447c3e
parent 200536 bbab000f050730dc16d4d262783a66e5bbb9021b
child 200538 ac9cfa44ecfdfb60be12118e81c8270a97044644
push id178
push userryanvm@gmail.com
push dateMon, 26 Jan 2015 22:33:03 +0000
treeherdermozilla-esr31@891f9e72b4c2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1105187
milestone31.4.0
Bug 1105187 - Uplift the harness changes to fix jit-test failures. a=test-only
js/src/tests/lib/jittests.py
--- a/js/src/tests/lib/jittests.py
+++ b/js/src/tests/lib/jittests.py
@@ -141,20 +141,20 @@ class Test:
                     elif name == 'valgrind':
                         test.valgrind = options.valgrind
                     elif name == 'tz-pacific':
                         test.tz_pacific = True
                     elif name == 'debug':
                         test.jitflags.append('--debugjit')
                     elif name == 'ion-eager':
                         test.jitflags.append('--ion-eager')
-                    elif name == 'no-ion':
-                        test.jitflags.append('--no-ion')
                     elif name == 'dump-bytecode':
                         test.jitflags.append('--dump-bytecode')
+                    elif name.startswith('--'): # // |jit-test| --ion-gvn=off; --no-sse4
+                        test.jitflags.append(name)
                     else:
                         print('warning: unrecognized |jit-test| attribute %s' % part)
 
         if options.valgrind_all:
             test.valgrind = True
 
         return test