summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libcereal/files
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2022-03-10 13:30:40 +0800
committerKhem Raj <raj.khem@gmail.com>2022-03-11 07:57:51 -0800
commit045fe61e303a80e36ee34ba3f09a301b9edbe666 (patch)
tree081fa5c6791540d19ea55c02aff2f39cdcbca434 /meta-oe/recipes-support/libcereal/files
parente4745eab4e8b1ab67765f50ac231f583872f35c3 (diff)
downloadmeta-openembedded-045fe61e303a80e36ee34ba3f09a301b9edbe666.tar.gz
libcereal: add ptest support
Add ptest support. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libcereal/files')
-rwxr-xr-xmeta-oe/recipes-support/libcereal/files/run-ptest12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libcereal/files/run-ptest b/meta-oe/recipes-support/libcereal/files/run-ptest
new file mode 100755
index 000000000..9bc480aa7
--- /dev/null
+++ b/meta-oe/recipes-support/libcereal/files/run-ptest
@@ -0,0 +1,12 @@
1#!/bin/sh
2
3cd tests
4for atest in test_* ; 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
12done