From 635c6171b77bca19de7b39f85e2b0b67a205f11b Mon Sep 17 00:00:00 2001 From: Steve Fink Date: Thu, 16 Mar 2023 17:09:20 +0000 Subject: [PATCH] Bug 1786060 - Skip memory-hungry tests on Android r=bthrall Differential Revision: https://phabricator.services.mozilla.com/D172623 --- js/src/jit-test/tests/bug1782468-ptrdiff-veclen.js | 2 ++ js/src/jit-test/tests/bug1782558-veclen.js | 2 +- js/src/jit-test/tests/bug1782562-toSource-veclen.js | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/js/src/jit-test/tests/bug1782468-ptrdiff-veclen.js b/js/src/jit-test/tests/bug1782468-ptrdiff-veclen.js index dbedb6252933a..7d01e32f599a5 100644 --- a/js/src/jit-test/tests/bug1782468-ptrdiff-veclen.js +++ b/js/src/jit-test/tests/bug1782468-ptrdiff-veclen.js @@ -1,3 +1,5 @@ +// |jit-test| skip-if: getBuildConfiguration()["android"] + try { a = {}; for (b = 0; b < 24; b++) diff --git a/js/src/jit-test/tests/bug1782558-veclen.js b/js/src/jit-test/tests/bug1782558-veclen.js index a335a6540e031..a8f1a48ea9fd8 100644 --- a/js/src/jit-test/tests/bug1782558-veclen.js +++ b/js/src/jit-test/tests/bug1782558-veclen.js @@ -1,4 +1,4 @@ -// |jit-test| skip-if: getBuildConfiguration()["pointer-byte-size"] > 4 +// |jit-test| skip-if: getBuildConfiguration()["pointer-byte-size"] > 4 || getBuildConfiguration()["android"] // On 64-bit, this will allocate 2G temporary strings for keys while // stringifying the Array, which takes a rather long time and doesn't have the diff --git a/js/src/jit-test/tests/bug1782562-toSource-veclen.js b/js/src/jit-test/tests/bug1782562-toSource-veclen.js index eed1ac6fa7fd8..21b885193b597 100644 --- a/js/src/jit-test/tests/bug1782562-toSource-veclen.js +++ b/js/src/jit-test/tests/bug1782562-toSource-veclen.js @@ -1,3 +1,5 @@ +// |jit-test| skip-if: getBuildConfiguration()["android"] + try { var z = "1"; try {