sanitycheck: parse testcase names correctly
We were parsing random FAIL messages from the output of test runs ad testcases and capturing them in the xml output. Now we only parse the name if it starts with test_. Fixes #21162 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
a39e640dbe
commit
a4dd49b380
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class Test(Harness):
|
||||||
|
|
||||||
def handle(self, line):
|
def handle(self, line):
|
||||||
match = result_re.match(line)
|
match = result_re.match(line)
|
||||||
if match:
|
if match and match.group(2):
|
||||||
name = "{}.{}".format(self.id, match.group(3))
|
name = "{}.{}".format(self.id, match.group(3))
|
||||||
self.tests[name] = match.group(1)
|
self.tests[name] = match.group(1)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue