mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 03:32:12 +02:00
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>
406 B
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