mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
6d0c0d7442
Particulary, . needs to be explicitly specified so that perl looks there when loading items in 'require'. (From OE-Core rev: 324d74c7e541b44b9c4240056b006f4c59ef34af) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 lines
339 B
Bash
17 lines
339 B
Bash
#!/bin/sh
|
|
|
|
for case in `find t -type f -name '*.t'`; do
|
|
perl -I . $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
|