Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
1 load(libdir + "parallelarray-helpers.js");
3 function testMap() {
4 var p = range(0, minItemsTestingThreshold);
5 var v = [1];
6 var func = function (e) {
7 v[0] = e;
8 return 0;
9 };
11 // this will compile, but fail at runtime
12 assertParallelExecWillBail(m => p.mapPar(func, m));
13 }
15 if (getBuildConfiguration().parallelJS)
16 testMap();