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 committed 2016-01-17 12:45:01 -06:00
1 parent 062f86a625
commit c514368f98
6 files changed
+9 -5

No files matched your search

+4
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)