dev-lang/spidermonkey: skip bad tests on sparc

Lines up with Debian patch.

See: https://salsa.debian.org/gnome-team/mozjs/-/blob/debian/102/master/debian/patches/tests-Use-DEB_HOST_ARCH_BITS-to-skip-some-tests-on-64-bit.patch
Bug: https://bugs.gentoo.org/904355
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/34377
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Matoro Mahri
2023-12-19 19:21:58 -05:00
committed by Joonas Niilola
parent bc99265637
commit d0ba57b885

View File

@@ -371,6 +371,13 @@ src_test() {
echo "test262/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-same-buffer-other-type.js" >> "${T}"/known_failures.list
fi
if use sparc; then
# https://salsa.debian.org/gnome-team/mozjs/-/blob/debian/102/master/debian/patches/tests-Use-DEB_HOST_ARCH_BITS-to-skip-some-tests-on-64-bit.patch
echo "non262/Array/regress-157652.js" >> "${T}"/known_failures.list
echo "non262/Array/regress-330812.js" >> "${T}"/known_failures.list
echo "non262/regress/regress-422348.js" >> "${T}"/known_failures.list
fi
if use x86; then
echo "non262/Date/timeclip.js" >> "${T}"/known_failures.list
echo "test262/built-ins/Date/UTC/fp-evaluation-order.js" >> "${T}"/known_failures.list