mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-13 00:28:15 +02:00
Test failures are currently not fatal, so this includes a downstream patch to change that. Closes: https://github.com/gentoo/gentoo/pull/35142 Bug: https://bugs.gentoo.org/918642 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
27 lines
811 B
Diff
27 lines
811 B
Diff
https://bugs.gentoo.org/918642
|
|
https://github.com/gentoo/gentoo/pull/35142
|
|
|
|
commit 6537507d754ad049dbdc324ec6bdea8b30416d48
|
|
Author: matoro <matoro@users.noreply.github.com>
|
|
Date: Fri Feb 16 12:44:14 2024 -0500
|
|
|
|
test: nsgif: make failing tests fatal
|
|
|
|
Right now, failing or erroring tests is not currently considered fatal.
|
|
This makes any instance of either fatal.
|
|
|
|
See: https://github.com/gentoo/gentoo/pull/35142
|
|
|
|
diff --git a/test/runtest.sh b/test/runtest.sh
|
|
index fd84847..ef7274c 100755
|
|
--- a/test/runtest.sh
|
|
+++ b/test/runtest.sh
|
|
@@ -68,7 +68,7 @@ done
|
|
echo "Tests:${GIFTESTTOTC} Pass:${GIFTESTPASSC} Fail:${GIFTESTFAILC} Error:${GIFTESTERRC}"
|
|
|
|
# exit code
|
|
-if [ "${GIFTESTERRC}" -gt 0 ]; then
|
|
+if [ "${GIFTESTERRC}" -gt 0 ] || [ "${GIFTESTFAILC}" -gt 0 ]; then
|
|
exit 1
|
|
fi
|
|
|