Debian Codegraph @

debian/patches/jstests-skip-fp-evaluation-order-test-in-some-archs.patch

raw
1 From: =?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <[email protected]>
2 Date: Tue, 15 Feb 2022 17:52:51 +0000
3 Subject: jstests: skip fp-evaluation-order test in some archs
4
5 This test is not working properly in some architectures due to
6 wrong ToNumber JS-to-C conversion for JS unsafe integers.
7
8 Bug-Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1755531
9 Forwarded: not-needed
10 ---
11 js/src/tests/jstests.list | 4 ++++
12 1 file changed, 4 insertions(+)
13
14 diff --git a/js/src/tests/jstests.list b/js/src/tests/jstests.list
15 index 9782fb7..b8521ee 100644
16 --- a/js/src/tests/jstests.list
17 +++ b/js/src/tests/jstests.list
18 @@ -778,6 +778,10 @@ fails-if(xulRuntime.debian.DEB_HOST_ARCH_ENDIAN=="big") script test262/built-ins
19 # This test fails with both System and embedded ICU version
20 skip script non262/Date/time-zones-imported.js
21
22 +# ToNumber isn't working in the same way in all the archs for unsafe integers:
23 +# https://bugzilla.mozilla.org/show_bug.cgi?id=1755531
24 +skip-if(xulRuntime.debian.DEB_HOST_ARCH_CPU.match(/i386|s390x|arm64|ppc64|riscv64/)) script test262/built-ins/Date/UTC/fp-evaluation-order.js
25 +
26 ###########################################################
27 # Tests disabled due to issues in test262 importer script #
28 ###########################################################