diff options
Diffstat (limited to 'meta-oe/recipes-support/libcereal/files/run-ptest')
-rwxr-xr-x | meta-oe/recipes-support/libcereal/files/run-ptest | 12 |
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 | |||
3 | cd tests | ||
4 | for 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 | ||
12 | done | ||