<div dir="ltr"><div dir="ltr">On Thu, Aug 22, 2024 at 12:40 PM Luca Vizzarro <<a href="mailto:luca.vizzarro@arm.com">luca.vizzarro@arm.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The introduction of TestSuiteSpec adds auto-discovery of test suites,<br>
which are also automatically imported. This causes double imports as the<br>
runner loads the test suites. This changes the behaviour of the runner<br>
to load the imported classes from TestSuiteSpec instead of importing<br>
them again.<br>
<br>
Signed-off-by: Luca Vizzarro <<a href="mailto:luca.vizzarro@arm.com" target="_blank">luca.vizzarro@arm.com</a>><br>
Reviewed-by: Paul Szczepanek <<a href="mailto:paul.szczepanek@arm.com" target="_blank">paul.szczepanek@arm.com</a>><br></blockquote><div> </div><div><snip> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
+            filtered_test_cases: list[TestCase] = [<br>
+                test_case<br>
+                for test_case in test_suite_spec.test_cases<br>
+                if not test_suite_config.test_cases_names<br>
+                or <a href="http://test_case.name" rel="noreferrer" target="_blank">test_case.name</a> in test_suite_config.test_cases_names<br>
+            ]<br>
<br></blockquote><div><br></div><div>Just wondering, what's the plan with the filtered test cases? I'm assuming they're stored here so we can report which cases were skipped after runtime?</div><div><br></div><div>Reviewed-by: Dean Marx <<a href="mailto:dmarx@iol.unh.edu">dmarx@iol.unh.edu</a>></div><div> </div><div><br></div></div></div>