diff options
| -rw-r--r-- | meta-oe/recipes-support/poco/poco/run-ptest | 11 |
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 |
| 2 | i=0 | ||
| 2 | while read runner; do | 3 | while 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 |
| 8 | done < testrunners | 10 | done < testrunners |
| 11 | i=0 | ||
| 12 | while 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 | ||
| 19 | done < testrunners | ||
