diff options
Diffstat (limited to 'meta/recipes-devtools/perl/libmodule-build-perl/run-ptest')
-rw-r--r-- | meta/recipes-devtools/perl/libmodule-build-perl/run-ptest | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest b/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest new file mode 100644 index 0000000000..0d63d1513b --- /dev/null +++ b/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest | |||
@@ -0,0 +1,16 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | for case in `find t -type f -name '*.t'`; do | ||
4 | perl -I inc -I blib -Mblib $case >$case.output 2>&1 | ||
5 | ret=$? | ||
6 | cat $case.output | ||
7 | if [ $ret -ne 0 ]; then | ||
8 | echo "FAIL: ${case%.t}" | ||
9 | elif grep -i 'SKIP' $case.output; then | ||
10 | echo "SKIP: ${case%.t}" | ||
11 | else | ||
12 | echo "PASS: ${case%.t}" | ||
13 | fi | ||
14 | |||
15 | rm -f $case.output | ||
16 | done | ||