From be2592f5c755589c05125c02f732f981ccacf4b3 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 12 Oct 2018 14:43:55 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3/run-ptest | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta/recipes-devtools/python/python3/run-ptest (limited to 'meta/recipes-devtools/python/python3') 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' -- cgit v1.2.3-54-g00ecf