meta-openembedded/meta-perl/recipes-perl/libio/files/run-ptest
Kang Kai 765436ee81 libio-socket-ssl-perl: add recipe
Add recipe for libio-socket-ssl-perl. Inherit ptest to enable build
-ptest sub-package and add file 'run-ptest'.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:05 +02:00

334 B

#!/bin/sh

for case in find t -type f -name '*.t'; do perl $case >$case.output 2>&1 ret=$? cat $case.output if [ $ret -ne 0 ]; then echo "FAIL: ${case%.t}" elif grep -i 'SKIP' $case.output; then echo "SKIP: ${case%.t}" else echo "PASS: ${case%.t}" fi

rm -f $case.output

done