test: use absolute paths for json.test
This commit is contained in:
parent
6cce50cd1b
commit
aa52f440bc
@ -228,5 +228,8 @@ AC_CONFIG_FILES([
|
|||||||
Doxyfile
|
Doxyfile
|
||||||
Makefile
|
Makefile
|
||||||
test/Makefile
|
test/Makefile
|
||||||
|
test/json.test
|
||||||
|
], [
|
||||||
|
chmod a+x test/json.test
|
||||||
])
|
])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
validate=../tools/json-validate
|
validate=@abs_top_builddir@/tools/json-validate
|
||||||
|
|
||||||
good=(json/good/*)
|
good=(@abs_top_srcdir@/test/json/good/*)
|
||||||
bad=(json/bad/*)
|
bad=(@abs_top_srcdir@/test/json/bad/*)
|
||||||
|
|
||||||
count=$((${#good[@]}+${#bad[@]}))
|
count=$((${#good[@]}+${#bad[@]}))
|
||||||
echo 1..$count
|
echo 1..$count
|
Loading…
Reference in New Issue
Block a user