summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmeta-oe/recipes-devtools/libtoml11/files/run-ptest11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta-oe/recipes-devtools/libtoml11/files/run-ptest b/meta-oe/recipes-devtools/libtoml11/files/run-ptest
index 9bc480aa7f..4da9e68cc5 100755
--- a/meta-oe/recipes-devtools/libtoml11/files/run-ptest
+++ b/meta-oe/recipes-devtools/libtoml11/files/run-ptest
@@ -1,10 +1,11 @@
1#!/bin/sh 1#!/usr/bin/env sh
2
3cd tests || exit 1
4
5rm -rf tests.log
2 6
3cd tests
4for atest in test_* ; do 7for atest in test_* ; do
5 rm -rf tests.log 8 if ./"${atest}" >> tests.log 2>&1; then
6 ./${atest} > tests.log 2>&1
7 if [ $? = 0 ] ; then
8 echo "PASS: ${atest}" 9 echo "PASS: ${atest}"
9 else 10 else
10 echo "FAIL: ${atest}" 11 echo "FAIL: ${atest}"