twister: set verdict on tests after evaluating results
Do not set results before we finished parsing output. Fixes #32514 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
6360593f99
commit
a983a99318
1 changed files with 2 additions and 2 deletions
|
@ -114,13 +114,13 @@ class Console(Harness):
|
|||
csv.append(v.strip())
|
||||
self.recording.append(csv)
|
||||
|
||||
self.process_test(line)
|
||||
|
||||
if self.state == "passed":
|
||||
self.tests[self.id] = "PASS"
|
||||
else:
|
||||
self.tests[self.id] = "FAIL"
|
||||
|
||||
self.process_test(line)
|
||||
|
||||
class Test(Harness):
|
||||
RUN_PASSED = "PROJECT EXECUTION SUCCESSFUL"
|
||||
RUN_FAILED = "PROJECT EXECUTION FAILED"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue