Files
poky/meta/recipes-devtools/json-c/json-c/run-ptest
Alexander Kanavin 02b4104c14 json-c: upgrade 0.16 -> 0.17
Fix run-ptest to append to log instead of overwriting it with every test invocation.

(From OE-Core rev: cae5ef60e96f19a656b4bd5e32fcc446450e675c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-26 10:35:27 +01:00

406 B

#!/bin/sh

This script is used to run json-c test suites

cd tests

ret_val=0 for i in test*.test; do # test_basic is not an own testcase, just # contains common code of other tests if [ "$i" != "test_basic.test" ]; then if ./$i >> json-c_test.log 2>&1 ; then echo PASS: $i else ret_val=1 echo FAIL: $i fi fi done

exit $ret_val