test: enable valgrind in more tests

This commit is contained in:
Miroslav Lichvar 2021-03-24 17:50:33 +01:00
parent 307c2ec70f
commit 224ab8ddb1

View file

@ -80,7 +80,12 @@ for CC in gcc clang; do
echo echo
pushd test/simulation || exit 1 pushd test/simulation || exit 1
CLKNETSIM_RANDOM_SEED=101 ./run -i 1 || exit 1 export CLKNETSIM_RANDOM_SEED=101
if [ "$arch_opts" = "" -a "$san_options" = "" ]; then
CLKNETSIM_CLIENT_WRAPPER=valgrind ./run -i 1 || exit 1
else
./run -i 1 || exit 1
fi
popd popd
done done
done done