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>
This commit is contained in:
Mingli Yu
2024-10-12 18:01:46 +08:00
committed by Khem Raj
parent 3490ba3384
commit 8917528948
2 changed files with 25 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/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