Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/profiler/ (r=jorendorff)
authorEric Faust <efausbmo@gmail.com>
Tue, 09 Oct 2018 15:41:50 -0700
changeset 498844 178e8e65a1a3874bb7215043af0ba12df06120a8
parent 498843 0fb70553886a17318a1ef26a5b0ffc063ed4b9ae
child 498845 4da5afa3f427920eac6fc9d3de57c5fee80636af
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs1496297
milestone64.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 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/profiler/ (r=jorendorff)
js/src/jit-test/tests/profiler/bug1211962.js
js/src/jit-test/tests/profiler/bug1231925.js
js/src/jit-test/tests/profiler/bug1242840.js
js/src/jit-test/tests/profiler/bug1352507-1.js
--- a/js/src/jit-test/tests/profiler/bug1211962.js
+++ b/js/src/jit-test/tests/profiler/bug1211962.js
@@ -1,11 +1,9 @@
-// |jit-test| slow;
-if (!('oomTest' in this))
-    quit();
+// |jit-test| slow; skip-if: !('oomTest' in this)
 
 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);
--- a/js/src/jit-test/tests/profiler/bug1231925.js
+++ b/js/src/jit-test/tests/profiler/bug1231925.js
@@ -1,7 +1,6 @@
-if (!('oomTest' in this))
-  quit();
+// |jit-test| skip-if: !('oomTest' in this)
 
 enableGeckoProfiling();
 oomTest(function() {
     eval("(function() {})()")
 });
--- a/js/src/jit-test/tests/profiler/bug1242840.js
+++ b/js/src/jit-test/tests/profiler/bug1242840.js
@@ -1,10 +1,9 @@
-if (!('oomTest' in this))
-    quit();
+// |jit-test| skip-if: !('oomTest' in this)
 
 enableGeckoProfiling();
 oomTest(() => {
     try {
         for (quit of ArrayBuffer);
     } catch (e) {
         switch (1) {
             case 0:
--- a/js/src/jit-test/tests/profiler/bug1352507-1.js
+++ b/js/src/jit-test/tests/profiler/bug1352507-1.js
@@ -1,3 +1,3 @@
-if (helperThreadCount() === 0)
-    quit();
+// |jit-test| skip-if: helperThreadCount() === 0
+
 evalInWorker("enableGeckoProfiling()");