Blame 0001-Skip-failing-tests-on-ppc64-and-s390x.patch

95774b8
From db3a0a25b97377b388532b23e73a10d246f66496 Mon Sep 17 00:00:00 2001
95774b8
From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <fzatlouk@redhat.com>
95774b8
Date: Mon, 3 Aug 2020 10:27:00 +0200
95774b8
Subject: [PATCH] Skip failing tests on ppc64 and s390x
95774b8
95774b8
ppc64 and s390x: non262/extensions/clone-errors.js
95774b8
s390x: test262/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-same-buffer-other-type.js
95774b8
s390x, ppc64 and aarch64: test262/built-ins/Date/UTC/fp-evaluation-order.js
95774b8
---
95774b8
 js/src/tests/jstests.list | 9 +++++++++
95774b8
 1 file changed, 9 insertions(+)
95774b8
95774b8
diff --git a/js/src/tests/jstests.list b/js/src/tests/jstests.list
95774b8
index 73ce42f..1797646 100644
95774b8
--- a/js/src/tests/jstests.list
95774b8
+++ b/js/src/tests/jstests.list
95774b8
@@ -53,6 +53,15 @@ skip-if(!this.hasOwnProperty("Intl")) include test262/intl402/jstests.list
95774b8
 skip-if(!this.hasOwnProperty("Atomics")) include test262/built-ins/Atomics/jstests.list
95774b8
 skip-if(!this.hasOwnProperty("SharedArrayBuffer")) include test262/built-ins/SharedArrayBuffer/jstests.list
95774b8
95774b8
+# Crashes on s390x and ppc64, avoid it
95774b8
+skip-if(xulRuntime.XPCOMABI.match(/s390x|ppc64-/)) script non262/extensions/clone-errors.js
95774b8
+
95774b8
+# Crashes on s390x, ppc64, aarch64
95774b8
+skip-if(xulRuntime.XPCOMABI.match(/s390x|aarch64|ppc64-/)) script test262/built-ins/Date/UTC/fp-evaluation-order.js
95774b8
+
95774b8
+# Crashes on s390x, avoid it
95774b8
+skip-if(xulRuntime.XPCOMABI.match(/s390x/)) script test262/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-same-buffer-other-type.js
95774b8
+
95774b8
 #####################################
95774b8
 # Test262 tests disabled on browser #
95774b8
 #####################################
95774b8
--
95774b8
2.31.1
95774b8
95774b8