Skip to content

Commit

Permalink
Add some comments on test updates and exclusions from mozilla#12.
Browse files Browse the repository at this point in the history
  • Loading branch information
cfallin committed Aug 24, 2023
1 parent 05045b6 commit 338a6a9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/src/jit-test/tests/arguments/bug1827073.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ function f1(a2, a3, a4, a5) {
f2();
}
function f2() {
// Recursion depth reduced to allow PBL with debug build (hence larger
// frames) to work.
if (depth++ > 75) {
return;
}
Expand Down
2 changes: 2 additions & 0 deletions js/src/jit-test/tests/asm.js/testJumpRange.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ load(libdir + "asm.js");
load(libdir + "asserts.js");

var fatFunc = USE_ASM + '\n';
// Recursion depth reduced to allow PBL with debug build (hence larger
// frames) to work.
for (var i = 0; i < 75; i++)
fatFunc += "function f" + i + "() { return ((f" + (i+1) + "()|0)+1)|0 }\n";
fatFunc += "function f75() { return 42 }\n";
Expand Down
2 changes: 2 additions & 0 deletions js/src/jit-test/tests/auto-regress/bug743094.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ var i = 0;

gczeal(2);
function test() {
// Recursion depth reduced to allow PBL with debug build (hence larger
// frames) to work.
if (i++ > 75)
return "function";
var res = typeof (new test("1")) != 'function';
Expand Down
2 changes: 2 additions & 0 deletions js/src/jit-test/tests/environments/bug1710089.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// |jit-test| skip-if: getBuildConfiguration()['wasi']

// Recursion depth reduced to allow PBL with debug build (hence larger
// frames) to work.
var iters = 75;

// Generate a deeply nested version of:
Expand Down
2 changes: 2 additions & 0 deletions js/src/jit-test/tests/regexp/bug1697077.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// |jit-test| skip-if: !('interruptRegexp' in this) || getBuildConfiguration()['pbl']
// skip testing under PBL because interruption of regex engine here seems to
// depend on GC behavior and is hard to reproduce reliably.
var s0 = "A".repeat(10*1024);
var interrupted = false;
gczeal(0);
Expand Down

0 comments on commit 338a6a9

Please sign in to comment.