mirror of
https://github.com/json-c/json-c.git
synced 2026-03-20 21:49:07 +08:00
Add a quick way (JSONC_TEST_TRACE=1) to turn on shell tracing in tests.
This commit is contained in:
@@ -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!!
|
||||
|
||||
Reference in New Issue
Block a user