summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyasyncore
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyasyncore')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyasyncore/run-ptest9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyasyncore/run-ptest b/meta-python/recipes-devtools/python/python3-pyasyncore/run-ptest
new file mode 100644
index 0000000000..52f069c3b9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyasyncore/run-ptest
@@ -0,0 +1,9 @@
1#!/bin/sh
2
3cd $(dirname $0)/tests
4
5# Failing cases are not transformed, only passing and skipped ones.
6# Unitttest will output a summary at the end for each failing testcase,
7# starting each line with "FAIL: " followed by the testcase name.
8
9python3 -m unittest -v 2>&1 | sed -e 's/\(test_[^ ]*\).*ok$/PASS: \1/' -e 's/\(test_[^ ]*\).*skipped.*/SKIP: \1/'