[oe-commits] [meta-openembedded] 28/32: python-pygpgme: update ptest output format

git at git.openembedded.org git at git.openembedded.org
Fri Jul 22 20:38:48 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit ae24260694689e5a4e3b6b5ec757355887ba80f0
Author: Catalin Enache <catalin.enache at windriver.com>
AuthorDate: Fri Jul 22 11:45:10 2016 +0300

    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.
    
    Signed-off-by: Catalin Enache <catalin.enache at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-python/recipes-devtools/python/python-pygpgme/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-pygpgme/run-ptest b/meta-python/recipes-devtools/python/python-pygpgme/run-ptest
index ac867e2..ce2abb6 100644
--- a/meta-python/recipes-devtools/python/python-pygpgme/run-ptest
+++ b/meta-python/recipes-devtools/python/python-pygpgme/run-ptest
@@ -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'

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list