summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pydbus/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pydbus/run-ptest')
-rw-r--r--meta-python/recipes-devtools/python/python3-pydbus/run-ptest15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydbus/run-ptest b/meta-python/recipes-devtools/python/python3-pydbus/run-ptest
new file mode 100644
index 0000000000..782ceed3bb
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pydbus/run-ptest
@@ -0,0 +1,15 @@
1#!/bin/sh
2
3for case in `find tests -type f -name '*.sh'`; do
4 bash $case python3 >$case.output 2>&1
5 ret=$?
6 if [ $ret -ne 0 ]; then
7 cat $case.output
8 echo "FAIL: ${case}"
9 elif grep -i 'SKIP' $case.output; then
10 echo "SKIP: ${case}"
11 else
12 echo "PASS: ${case}"
13 fi
14 rm -f $case.output
15done \ No newline at end of file