summaryrefslogtreecommitdiffstats
path: root/fuzz/test-runner.sh
blob: a29531b6b93f8e246af1184e993c0b9c4c7dd7b3 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env sh

WRAPPER=""

if [ -n "$VALGRIND_TESTS" ]; then
    WRAPPER="valgrind --error-exitcode=301 --leak-check=yes --show-reachable=yes --track-origins=yes"
fi

exec $WRAPPER "$@"