run {A,UB}SAN again with GMP

Fixup of 798d7dc61f
This commit is contained in:
Steffen Jaeckel 2019-09-30 17:40:08 +02:00
parent 9c67f8ac3c
commit c113c03c13

View File

@ -34,7 +34,7 @@ function run_gcc() {
ASAN_OPTIONS=verbosity=1 ./test t ltm 1>test_std.txt 2> test_err.txt || exit 1
if echo $2 | grep -q GMP ; then
if echo $* | grep -q GMP ; then
echo
echo "Run ASAN tests with GMP..."
@ -68,7 +68,7 @@ function run_clang() {
echo "Run UBSAN tests with LTM..."
UBSAN_OPTIONS=verbosity=1 ./test t ltm 1>test_std.txt 2> test_err.txt || exit 1
if echo $2 | grep -q GMP ; then
if echo $* | grep -q GMP ; then
echo
echo "Run UBSAN tests with GMP..."