Files
OpenBMC/poky/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest
T

15 lines
281 B
Bash
Raw Normal View History

2026-04-23 17:07:55 +08:00
#!/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