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-14 09:20:56 +0100 |
| commit | be2592f5c755589c05125c02f732f981ccacf4b3 (patch) | |
| tree | aa675e4fab2903509fc6424e523d1b722140fdcf /meta/recipes-devtools/python/python3/run-ptest | |
| parent | 4837c3b0ad46e08c5063e842d0f53f05b31c4873 (diff) | |
| download | poky-be2592f5c755589c05125c02f732f981ccacf4b3.tar.gz | |
python3: add ptest runner
Copy the Python 2 run-ptest script to execute the Python 3 test suite.
(From OE-Core rev: d371ff04628bdf7bac66341aeb9a66d145f66416)
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/run-ptest')
| -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 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | 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' | ||
