From b66694cc73d31d3d62b0f1a5f15b470c67117144 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Thu, 24 Aug 2023 19:02:14 +0200 Subject: [PATCH] Run valgrind without march=native Valgrind doesn't always support all relevant instructions and crashes on some platforms, most notably github CI. --- tests/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!" -- 2.47.3