From: Loup Vaillant Date: Thu, 24 Aug 2023 17:02:14 +0000 (+0200) Subject: Run valgrind without march=native X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=b66694cc73d31d3d62b0f1a5f15b470c67117144;p=Monocypher.git Run valgrind without march=native Valgrind doesn't always support all relevant instructions and crashes on some platforms, most notably github CI. --- diff --git a/tests/test.sh b/tests/test.sh index 7d2207d..04b2deb 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -59,7 +59,7 @@ make clean; make test CFLAGS="-DBLAKE2_NO_UNROLLING -O3" make clean; make test CC="clang -std=c99" CFLAGS="-g -fsanitize=address" make clean; make test CC="clang -std=c99" CFLAGS="-g -fsanitize=memory" make clean; make test CC="clang -std=c99" CFLAGS="-g -fsanitize=undefined" -make clean; make test.out; valgrind ./test.out +make clean; make test.out CFLAGS="-g"; valgrind ./test.out echo echo "All sanitisers passed!"