Bug 1520392 - Part 5: Skip slow jit-test which depends on helper threads if helper threads are not available. r=jandem
authorTooru Fujisawa <arai_a@mac.com>
Thu, 17 Jan 2019 11:46:24 +0000
changeset 514247 3e943d2e39c9292cd0b5098a46116aaa9aaa1f3b
parent 514246 119e9c321200abdc92943a4ef125c575ddd46f88
child 514248 c3da93a4af8ff7db326c1f9eed053f3645565836
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1520392
milestone66.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 1520392 - Part 5: Skip slow jit-test which depends on helper threads if helper threads are not available. r=jandem Depends on D16814 Differential Revision: https://phabricator.services.mozilla.com/D16815
js/src/jit-test/tests/basic/evaluate-worker.js
js/src/jit-test/tests/profiler/bug1211962.js
--- a/js/src/jit-test/tests/basic/evaluate-worker.js
+++ b/js/src/jit-test/tests/basic/evaluate-worker.js
@@ -1,9 +1,9 @@
-// |jit-test| slow; skip-if: typeof evalInWorker === 'undefined'
+// |jit-test| slow; skip-if: typeof evalInWorker === 'undefined' || helperThreadCount() === 0
 
 gcslice(11);
 evalInWorker("print('helo world');");
 for (i = 0; i < 100000; i++) {}
 
 evalInWorker("\
   for (var i = 0; i < 10; i++) { \
     var o = {}; \
--- a/js/src/jit-test/tests/profiler/bug1211962.js
+++ b/js/src/jit-test/tests/profiler/bug1211962.js
@@ -1,9 +1,9 @@
-// |jit-test| slow; skip-if: !('oomTest' in this)
+// |jit-test| slow; skip-if: !('oomTest' in this) || helperThreadCount() === 0
 
 enableGeckoProfiling();
 var lfGlobal = newGlobal();
 for (lfLocal in this) {
     lfGlobal[lfLocal] = this[lfLocal];
 }
 const script = 'oomTest(() => getBacktrace({args: true, locals: "123795", thisprops: true}));';
 lfGlobal.offThreadCompileScript(script);