summaryrefslogtreecommitdiffstats
path: root/external/meta-python2/recipes-devtools/python/python/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'external/meta-python2/recipes-devtools/python/python/run-ptest')
-rw-r--r--external/meta-python2/recipes-devtools/python/python/run-ptest3
1 files changed, 3 insertions, 0 deletions
diff --git a/external/meta-python2/recipes-devtools/python/python/run-ptest b/external/meta-python2/recipes-devtools/python/python/run-ptest
new file mode 100644
index 00000000..c7002a45
--- /dev/null
+++ b/external/meta-python2/recipes-devtools/python/python/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+python -mtest -W | sed -u -e '/\.\.\. ok/ s/^/PASS: /g' -e '/\.\.\. [ERROR|FAIL]/ s/^/FAIL: /g' -e '/\.\.\. skipped/ s/^/SKIP: /g' -e 's/ \.\.\. ok//g' -e 's/ \.\.\. ERROR//g' -e 's/ \.\.\. FAIL//g' -e 's/ \.\.\. skipped//g'