Skip to content

Commit

Permalink
Run valgrind without march=native
Browse files Browse the repository at this point in the history
Valgrind doesn't always support all relevant instructions and crashes
on some platforms, most notably github CI.
  • Loading branch information
LoupVaillant committed Aug 24, 2023
1 parent 8da575c commit 911bdf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
Expand Down

0 comments on commit 911bdf7

Please sign in to comment.