blob: 9ee6095ea22c6f267070fba6f5166800ef0c9a47 [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001#!/bin/sh
2
3# This script is used to run json-c test suites
4cd tests
5
6ret_val=0
7for i in test*.test; do
8 # test_basic is not an own testcase, just
9 # contains common code of other tests
10 if [ "$i" != "test_basic.test" ]; then
11 if ./$i > json-c_test.log 2>&1 ; then
12 echo PASS: $i
13 else
14 ret_val=1
15 echo FAIL: $i
16 fi
17 fi
18done
19
20exit $ret_val