Bug 1258388: Fix number of computed variants in jit_tests.py; r=jonco
authorBenjamin Bouvier <benj@benj.me>
Mon, 21 Mar 2016 15:54:29 +0100
changeset 290048 530267937f67c9ba12b7b442caff7a36aed1d9e9
parent 290047 1686be775813bb687d3e015313f85957ee28af59
child 290049 432cfb0bde31aa38664862d6371812141007110c
push id30114
push usercbook@mozilla.com
push dateThu, 24 Mar 2016 15:15:54 +0000
treeherdermozilla-central@24c5fbde4488 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjonco
bugs1258388
milestone48.0a1
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
Bug 1258388: Fix number of computed variants in jit_tests.py; r=jonco MozReview-Commit-ID: 62TYOYpbXQ9
js/src/jit-test/jit_test.py
--- a/js/src/jit-test/jit_test.py
+++ b/js/src/jit-test/jit_test.py
@@ -261,19 +261,20 @@ def main(argv):
         # Running all bits would take forever. Instead, we test a few
         # interesting combinations.
         test_flags = get_jitflags('all')
     elif options.ion:
         test_flags = get_jitflags('ion')
     else:
         test_flags = get_jitflags(options.jitflags)
 
-    job_list = (_ for test in test_list
-                for _ in test.copy_variants(test_flags))
-    job_count = len(test_list) * len(test_flags)
+    test_list = [_ for test in test_list for _ in test.copy_variants(test_flags)]
+
+    job_list = (test for test in test_list)
+    job_count = len(test_list)
 
     if options.repeat:
         job_list = (test for test in job_list for i in range(options.repeat))
         job_count *= options.repeat
 
     if options.ignore_timeouts:
         read_all = False
         try: