summaryrefslogtreecommitdiffstats
path: root/contrib/libucl/tests/schema.test
blob: fd26804fa29549aa8378f2a1b295a0fbc738950c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

PROG=${TEST_BINARY_DIR}/test_schema
rm /tmp/_ucl_test_schema.out ||true
for i in ${TEST_DIR}/schema/*.json ; do
	_name=`basename $i`
	printf "running schema test suite $_name... "
	$PROG >> /tmp/_ucl_test_schema.out < $i && ( echo "OK" ) || ( echo "Fail" ; exit 1 )
done
OpenPOWER on IntegriCloud