Skip to content

Commit 7b1cc71

Browse files
nashifcfriedt
authored andcommitted
ci: test_plan: do not filter same test with different toolchain
Make sure we get same test with different tests included. Signed-off-by: Anas Nashif <[email protected]>
1 parent 45596b7 commit 7b1cc71

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/ci/test_plan.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,12 +485,13 @@ def parse_args():
485485
n = ts.get("name")
486486
a = ts.get("arch")
487487
p = ts.get("platform")
488+
t = ts.get("toolchain")
488489
if TwisterStatus(ts.get('status')) == TwisterStatus.ERROR:
489490
logging.info(f"Error found: {n} on {p} ({ts.get('reason')})")
490491
errors += 1
491-
if (n, a, p,) not in dup_free_set:
492+
if (n, a, p, t) not in dup_free_set:
492493
dup_free.append(ts)
493-
dup_free_set.add((n, a, p,))
494+
dup_free_set.add((n, a, p, t,))
494495

495496
logging.info(f'Total tests to be run: {len(dup_free)}')
496497
with open(".testplan", "w") as tp:

0 commit comments

Comments
 (0)