[OE-core] [PATCH] oeqa/ptest: Modified regex to find FAILED testcases no just FAIL.
Lucian Musat
george.l.musat at intel.com
Fri Jul 31 08:40:25 UTC 2015
Some ptests output failed tests as FAILED instead of FAIL, like glib and pango.
Bug #6601
Signed-off-by: Lucian Musat <george.l.musat at intel.com>
---
meta/lib/oeqa/runtime/_ptest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/runtime/_ptest.py b/meta/lib/oeqa/runtime/_ptest.py
index 81c9c43..ba68234 100644
--- a/meta/lib/oeqa/runtime/_ptest.py
+++ b/meta/lib/oeqa/runtime/_ptest.py
@@ -20,7 +20,7 @@ class PtestRunnerTest(oeRuntimeTest):
# a ptest log parser
def parse_ptest(self, logfile):
- parser = Lparser(test_0_pass_regex="^PASS:(.+)", test_0_fail_regex="^FAIL:(.+)", section_0_begin_regex="^BEGIN: .*/(.+)/ptest", section_0_end_regex="^END: .*/(.+)/ptest")
+ parser = Lparser(test_0_pass_regex="^PASS:(.+)", test_0_fail_regex="^FAIL(?:ED)?:(.+)", section_0_begin_regex="^BEGIN: .*/(.+)/ptest", section_0_end_regex="^END: .*/(.+)/ptest")
parser.init()
result = Result()
--
2.1.4
More information about the Openembedded-core
mailing list