summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-08 23:14:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-11 15:22:44 +0100
commitd70c77e4d5ec1d7cb4f134377df11e6475f31062 (patch)
tree7a6a3dc805a47d8ef9a7e5e053f625e1454bf193
parent2a48df02a2871635f8235645bfd7f7a3ff0aef31 (diff)
downloadopenembedded-core-d70c77e4d5ec1d7cb4f134377df11e6475f31062.tar.gz
openembedded-core-d70c77e4d5ec1d7cb4f134377df11e6475f31062.tar.bz2
openembedded-core-d70c77e4d5ec1d7cb4f134377df11e6475f31062.zip
python3: Fix ptest output parsing
A previous fix to python added -W and removed -v. This reverts that part of the change since we're no longer getting ptest results at all. This change back to more verbose output means we start getting test results again. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python3/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3/run-ptest b/meta/recipes-devtools/python/python3/run-ptest
index 50f92916eb..3e45d3918c 100644
--- a/meta/recipes-devtools/python/python3/run-ptest
+++ b/meta/recipes-devtools/python/python3/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-python3 -m test -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'
+python3 -m test -v | 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'