diff options
author | 2020-03-30 09:24:26 +0900 | |
---|---|---|
committer | 2020-03-30 09:24:26 +0900 | |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /external/meta-openembedded/meta-perl/recipes-perl/libmime/files/run-ptest | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'external/meta-openembedded/meta-perl/recipes-perl/libmime/files/run-ptest')
-rw-r--r-- | external/meta-openembedded/meta-perl/recipes-perl/libmime/files/run-ptest | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/external/meta-openembedded/meta-perl/recipes-perl/libmime/files/run-ptest b/external/meta-openembedded/meta-perl/recipes-perl/libmime/files/run-ptest new file mode 100644 index 00000000..c9f9ca94 --- /dev/null +++ b/external/meta-openembedded/meta-perl/recipes-perl/libmime/files/run-ptest @@ -0,0 +1,16 @@ +#!/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 |