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

Make it possible to run tests with set -x

One can now run:

    make TRACE_TESTS=1 check

to get detailed output
This commit is contained in:
Nicolas Williams
2016-01-17 12:23:05 -06:00
parent 062f86a625
commit c514368f98
6 changed files with 9 additions and 5 deletions

View File

@@ -2,6 +2,10 @@
# This is meant to be included by each test's shell script driver.
if [ -n "$TRACE_TESTS" ]; then
set -x
fi
set -eu
JQTESTDIR=$(cd "$(dirname "$0")" && pwd)