Skip to contentSkip to conversation

python-pygpgme: update ptest output format

PATCH New Catalin Enache 1 participant 1 message Jul 22, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-pygpgme: update ptest output format

The output format was updated to match yocto ptest rules:
<result>: <testname>
where the result can be PASS, FAIL, or SKIP, and the testname can be any identifying string.

---
 meta-python/recipes-devtools/python/python-pygpgme/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-pygpgme/run-ptest +1 -1
index ac867e2..ce2abb6 100644
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-GPG_AGENT_INFO= python test_all.py -v
+GPG_AGENT_INFO= python test_all.py -v 2>&1 | 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'
Signature · 1 line
2.7.4