1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

10 lines
170 B
Plaintext
Raw Normal View History

#!/bin/sh
if which valgrind > /dev/null; then
VALGRIND='valgrind --error-exitcode=1 -q --leak-check=full'
else
VALGRIND=
fi
cat $@ | $VALGRIND ./jq --run-tests