mirror of
https://github.com/json-c/json-c.git
synced 2026-04-06 05: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
|
#!/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
|
# Make sure srcdir is an absolute path. Supply the variable
|
||||||
# if it does not exist. We want to be able to run the tests
|
# if it does not exist. We want to be able to run the tests
|
||||||
# stand-alone!!
|
# stand-alone!!
|
||||||
|
|||||||
Reference in New Issue
Block a user