diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2024-10-12 18:01:46 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-10-17 14:07:45 -0700 |
| commit | 8917528948c93a9c933bf7d2c9110ba2cade43cc (patch) | |
| tree | fc5a57ebd79ea23b1eff4baad3b26c4f99d7b05f /meta-oe/recipes-devtools/tomlplusplus/files | |
| parent | 3490ba33844a2ed0024bfff7445a32276e2fcfb2 (diff) | |
| download | meta-openembedded-8917528948c93a9c933bf7d2c9110ba2cade43cc.tar.gz | |
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>
Diffstat (limited to 'meta-oe/recipes-devtools/tomlplusplus/files')
| -rwxr-xr-x | meta-oe/recipes-devtools/tomlplusplus/files/run-ptest | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/tomlplusplus/files/run-ptest b/meta-oe/recipes-devtools/tomlplusplus/files/run-ptest new file mode 100755 index 0000000000..4f682c5eb2 --- /dev/null +++ b/meta-oe/recipes-devtools/tomlplusplus/files/run-ptest | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | cd tests | ||
| 4 | for atest in tomlplusplus_* ; do | ||
| 5 | rm -rf tests.log | ||
| 6 | ./${atest} > tests.log 2>&1 | ||
| 7 | if [ $? = 0 ] ; then | ||
| 8 | echo "PASS: ${atest}" | ||
| 9 | else | ||
| 10 | echo "FAIL: ${atest}" | ||
| 11 | fi | ||
| 12 | done | ||
