gentoo/net-libs/libpcapnav/files/libpcapnav-0.8-test-exit-on-failure.patch
Sam James cef2d1212a
net-libs/libpcapnav: EAPI 8, wire up tests
* EAPI 8
* Drop test restriction, patch tests to exit correctly on failure reflecting
  the result, and wire up src_test accordingly
* Drop "commented out" jer_src_compile

Signed-off-by: Sam James <sam@gentoo.org>
2025-05-20 15:26:43 +01:00

13 lines
314 B
Diff

--- a/test/run-tests.sh
+++ b/test/run-tests.sh
@@ -12,7 +12,9 @@ else
diff test1-result.trace test1-correct.be.trace &> /dev/null
if test $? -eq 0; then
echo "passed."
+ exit 0
else
echo "FAILED."
+ exit 1
fi
fi