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 243045 b17339648b55
parent 243044 9ac8ce8d36ef
child 243046 6601b8da1750
push id4373
push userryanvm@gmail.com
push date2015-01-26 18:43 +0000
treeherdermozilla-beta@bc7489448a98 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1105187
milestone36.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
@@ -172,20 +172,20 @@ class Test:
                     elif name == 'allow-overrecursed':
                         test.allow_overrecursed = True
                     elif name == 'valgrind':
                         test.valgrind = options.valgrind
                     elif name == 'tz-pacific':
                         test.tz_pacific = True
                     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('%s: warning: unrecognized |jit-test| attribute %s' % (path, part))
 
         if options.valgrind_all:
             test.valgrind = True
 
         return test