mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
poco: Add pass/fail ststus into logs
Ptests do not report status otherwise on build host Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,8 +1,19 @@
|
||||
#!/bin/sh
|
||||
i=0
|
||||
while read runner; do
|
||||
oldpath=`pwd` >/dev/null
|
||||
cd bin
|
||||
echo Testing $runner
|
||||
./$runner -ignore $oldpath/cppignore.lnx -all
|
||||
export res$((i++))=$?
|
||||
cd $oldpath >/dev/null
|
||||
done < testrunners
|
||||
i=0
|
||||
while read runner; do
|
||||
eval assign=\$res$((i++))
|
||||
if [ $assign -ne 0 ]; then
|
||||
echo "FAIL: $runner"
|
||||
else
|
||||
echo "PASS: $runner"
|
||||
fi
|
||||
done < testrunners
|
||||
|
||||
Reference in New Issue
Block a user