diff options
author | Ross Burton <ross.burton@intel.com> | 2018-10-12 14:43:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-13 16:03:44 +0100 |
commit | d371ff04628bdf7bac66341aeb9a66d145f66416 (patch) | |
tree | 7bb49f1a7cf86891c3a0ef45f7596a598391652d /meta/recipes-devtools/python/python3 | |
parent | b0cbd9efc30289bb4838dcaa43beba2c0c372ab2 (diff) | |
download | openembedded-core-contrib-d371ff04628bdf7bac66341aeb9a66d145f66416.tar.gz |
python3: add ptest runner
Copy the Python 2 run-ptest script to execute the Python 3 test suite.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3')
-rw-r--r-- | meta/recipes-devtools/python/python3/run-ptest | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/run-ptest b/meta/recipes-devtools/python/python3/run-ptest new file mode 100644 index 0000000000..3863c6d314 --- /dev/null +++ b/meta/recipes-devtools/python/python3/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +python3 -m test -v | sed -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' |