Skip to content

Commit 9c034b6

Browse files
committed
ci: test_plan: fix detailed test id handling
detailed test id is no longer default, so switch the logic to deal with that. Signed-off-by: Anas Nashif <[email protected]>
1 parent abdece2 commit 9c034b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/ci/test_plan.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def __repr__(self):
102102

103103
class Filters:
104104
def __init__(self, modified_files, ignore_path, alt_tags, testsuite_root,
105-
pull_request=False, platforms=[], detailed_test_id=True, quarantine_list=None, tc_roots_th=20):
105+
pull_request=False, platforms=[], detailed_test_id=False, quarantine_list=None, tc_roots_th=20):
106106
self.modified_files = modified_files
107107
self.testsuite_root = testsuite_root
108108
self.resolved_files = []
@@ -137,8 +137,8 @@ def process(self):
137137
def get_plan(self, options, integration=False, use_testsuite_root=True):
138138
fname = "_test_plan_partial.json"
139139
cmd = [f"{zephyr_base}/scripts/twister", "-c"] + options + ["--save-tests", fname ]
140-
if not self.detailed_test_id:
141-
cmd += ["--no-detailed-test-id"]
140+
if self.detailed_test_id:
141+
cmd += ["--detailed-test-id"]
142142
if self.testsuite_root and use_testsuite_root:
143143
for root in self.testsuite_root:
144144
cmd+=["-T", root]

0 commit comments

Comments
 (0)