diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:38:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:38:31 +0000 |
commit | 252601302d45036817546c533743e5918b6b86e8 (patch) | |
tree | bfad3f5be123f000fdb03e26400050dece33d72f /fuzz/test-runner.sh | |
parent | Initial commit. (diff) | |
download | wget-upstream.tar.xz wget-upstream.zip |
Adding upstream version 1.21.3.upstream/1.21.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fuzz/test-runner.sh')
-rwxr-xr-x | fuzz/test-runner.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fuzz/test-runner.sh b/fuzz/test-runner.sh new file mode 100755 index 0000000..a29531b --- /dev/null +++ b/fuzz/test-runner.sh @@ -0,0 +1,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 "$@" |