diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-10-12 21:54:24 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-10-12 21:54:24 +0300 |
| commit | 3d5360c44460022a0adc40771659f11835460859 (patch) | |
| tree | 1cc523894ba50afde7b596e1141db889adee2b87 | |
| parent | 1dc91bd8b96563c816e701dfdebcf33040555a6b (diff) | |
| download | conts-3d5360c44460022a0adc40771659f11835460859.tar.gz conts-3d5360c44460022a0adc40771659f11835460859.zip | |
fix valgrind detection on openbsd
| -rwxr-xr-x | scripts/run-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-test b/scripts/run-test index 017562e..8f09c45 100755 --- a/scripts/run-test +++ b/scripts/run-test @@ -6,7 +6,7 @@ NAME=$(basename "$TEST") mkdir -p "reports/$NAME" try_vg() { - if which -s valgrind; then + if which valgrind > /dev/null 2>&1; then valgrind -q --leak-check=full --error-exitcode=1 "$1" else eval "$1" |
