summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/poco/poco/run-ptest11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/poco/poco/run-ptest b/meta-oe/recipes-support/poco/poco/run-ptest
index 521cc08a75..db8cf8511f 100644
--- a/meta-oe/recipes-support/poco/poco/run-ptest
+++ b/meta-oe/recipes-support/poco/poco/run-ptest
@@ -1,8 +1,19 @@
1#!/bin/sh 1#!/bin/sh
2i=0
2while read runner; do 3while read runner; do
3 oldpath=`pwd` >/dev/null 4 oldpath=`pwd` >/dev/null
4 cd bin 5 cd bin
5 echo Testing $runner 6 echo Testing $runner
6 ./$runner -ignore $oldpath/cppignore.lnx -all 7 ./$runner -ignore $oldpath/cppignore.lnx -all
8 export res$((i++))=$?
7 cd $oldpath >/dev/null 9 cd $oldpath >/dev/null
8done < testrunners 10done < testrunners
11i=0
12while read runner; do
13 eval assign=\$res$((i++))
14 if [ $assign -ne 0 ]; then
15 echo "FAIL: $runner"
16 else
17 echo "PASS: $runner"
18 fi
19done < testrunners