twister: harness: fix ztest detection
Decision about whether test should be considered as ztest should be made after detection ztest testcase - not after detection ztest test suite. Fixes: #44397 Signed-off-by: Piotr Golyzniak <piotr.golyzniak@nordicsemi.no>
This commit is contained in:
parent
5a3f528387
commit
806cc70f7c
1 changed files with 0 additions and 1 deletions
|
@ -227,7 +227,6 @@ class Test(Harness):
|
|||
if test_suite_match:
|
||||
suite_name = test_suite_match.group("suite_name")
|
||||
self.detected_suite_names.append(suite_name)
|
||||
self.ztest = True
|
||||
|
||||
match = result_re.match(line)
|
||||
if match and match.group(2):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue