poky/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest
Alexander Kanavin 63c1a252f2 libmodule-build-perl: fix ptests
Particularly remove a broken detection of skipped tests
(which was marking tests that actually passed), and install
additional artefacts needed for testing.

(From OE-Core rev: dbbce0918617c21d0e43e9727d38372c22dff3dc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-10 21:18:22 +00:00

281 B

#!/bin/sh

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

rm -f $case.output

done