Bug 1057803 - Skip bug-1055034.js if ParallelJS isn't supported. r=terrence
authorRyan VanderMeulen <ryanvm@gmail.com>
Mon, 25 Aug 2014 13:22:44 -0400
changeset 223063 3ef28e381ad6f4d53c5878ad60336637fa7d2ec2
parent 223062 73f28df820fa6812df4c222f524cbed439702227
child 223064 4c79080181fd82539ed8b706daa1e53aa9b59be9
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersterrence
bugs1057803, 1055034
milestone34.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 1057803 - Skip bug-1055034.js if ParallelJS isn't supported. r=terrence
js/src/jit-test/tests/gc/bug-1055034.js
--- a/js/src/jit-test/tests/gc/bug-1055034.js
+++ b/js/src/jit-test/tests/gc/bug-1055034.js
@@ -5,9 +5,10 @@ function range(n, m) {
   return result;
 }
 function run(arr, func) {
   var expected = arr["map"].apply(arr, [func]);
   function f(m) { return arr["mapPar"].apply(arr, [func, m]); }
     f({mode:"compile"});
     f({mode:"seq"});
  }
-run(range(0, 1024), function (i) { var a = []; a.length = i; });
+if (getBuildConfiguration().parallelJS)
+  run(range(0, 1024), function (i) { var a = []; a.length = i; });