Add a quick way (JSONC_TEST_TRACE=1) to turn on shell tracing in tests.

This commit is contained in:
Eric Haszlakiewicz
2019-11-23 12:03:27 -05:00
parent b1ad748842
commit 3d3b014971

View File

@@ -1,5 +1,10 @@
#!/bin/sh
if [ ! -z "$JSONC_TEST_TRACE" ] ; then
VERBOSE=1
set -x
set -v
fi
# Make sure srcdir is an absolute path. Supply the variable
# if it does not exist. We want to be able to run the tests
# stand-alone!!