[PATCH 4/5] dts: use TestSuiteSpec class imports
Juraj Linkeš
juraj.linkes at pantheon.tech
Tue Sep 17 13:39:52 CEST 2024
> diff --git a/dts/framework/runner.py b/dts/framework/runner.py
> @@ -229,139 +221,34 @@ def _get_test_suites_with_cases(
> + filtered_test_cases: list[TestCase] = [
> + test_case
> + for test_case in test_suite_spec.test_cases
> + if not test_suite_config.test_cases_names
> + or test_case.name in test_suite_config.test_cases_names
> + ]
Ah, looks like TestSuiteSpec doesn't contain the subset we want to test.
Could we adapt it this way? I think we don't really care about test
cases we don't want to test.
More information about the dev
mailing list