2023-10-06 Niels Möller <nisse@lysator.liu.se>
+ * testsuite/rsa-sec-decrypt-test.c (test_main): Skip side-channel
+ test if built with mini-gmp.
+
+ * testsuite/sc-valgrind.sh (with_valgrind): Pass
+ --exit-on-first-error=yes.
+
* aclocal.m4 (NETTLE_PROG_VALGRIND): New macro.
* configure.ac: Use it.
* testsuite/Makefile.in (TS_SH): Include side-channel tests only
# using valgrind.
with_valgrind () {
- type valgrind >/dev/null || exit 77
- NETTLE_TEST_SIDE_CHANNEL=1 valgrind -q --error-exitcode=1 "$@"
+ type valgrind >/dev/null 2>&1 || exit 77
+ NETTLE_TEST_SIDE_CHANNEL=1 valgrind -q --exit-on-first-error=yes --error-exitcode=1 "$@"
}