mirror of
https://github.com/json-c/json-c.git
synced 2026-03-18 12:39:06 +08:00
18 lines
312 B
Plaintext
18 lines
312 B
Plaintext
|
|
#!/bin/sh
|
||
|
|
|
||
|
|
export _JSON_C_STRERROR_ENABLE=1
|
||
|
|
|
||
|
|
# Common definitions
|
||
|
|
if test -z "$srcdir"; then
|
||
|
|
srcdir="${0%/*}"
|
||
|
|
test "$srcdir" = "$0" && srcdir=.
|
||
|
|
test -z "$srcdir" && srcdir=.
|
||
|
|
fi
|
||
|
|
. "$srcdir/test-defs.sh"
|
||
|
|
|
||
|
|
filename=$(basename "$0")
|
||
|
|
filename="${filename%.*}"
|
||
|
|
|
||
|
|
run_output_test $filename "$srcdir"
|
||
|
|
exit $?
|