mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-13 16:48:59 +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:
parent
52235f4935
commit
44b0e29a96
@ -1,8 +1,19 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
i=0
|
||||||
while read runner; do
|
while read runner; do
|
||||||
oldpath=`pwd` >/dev/null
|
oldpath=`pwd` >/dev/null
|
||||||
cd bin
|
cd bin
|
||||||
echo Testing $runner
|
echo Testing $runner
|
||||||
./$runner -ignore $oldpath/cppignore.lnx -all
|
./$runner -ignore $oldpath/cppignore.lnx -all
|
||||||
|
export res$((i++))=$?
|
||||||
cd $oldpath >/dev/null
|
cd $oldpath >/dev/null
|
||||||
done < testrunners
|
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user