Files
Mingli Yu 8917528948 tomlplusplus: Add ptest support
# ./run-ptest
PASS: tomlplusplus_odr_test
PASS: tomlplusplus_tests

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-17 14:07:45 -07:00

13 lines
212 B
Bash
Executable File

#!/bin/sh
cd tests
for atest in tomlplusplus_* ; do
rm -rf tests.log
./${atest} > tests.log 2>&1
if [ $? = 0 ] ; then
echo "PASS: ${atest}"
else
echo "FAIL: ${atest}"
fi
done