mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
jq now depends on oniguruma for regex support. Modified configure.ac accordingly. Added valgrind suppression file for oniguruma to prevent one-time and bounded leaks from causing tests to fail. Signed-off-by: Nicolas Williams <nico@cryptonector.com>
10 lines
201 B
Bash
Executable File
10 lines
201 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if which valgrind > /dev/null; then
|
|
VALGRIND='valgrind --error-exitcode=1 -q --leak-check=full --suppressions=tests/onig.supp'
|
|
else
|
|
VALGRIND=
|
|
fi
|
|
|
|
cat $@ | $VALGRIND ./jq --run-tests
|