From 0dc169a778e131d1fe4a50f5d70ce553f172a191 Mon Sep 17 00:00:00 2001 From: Cecille Freeman Date: Mon, 15 May 2023 10:24:21 -0400 Subject: [PATCH] Fix in development test parsing for non hardcoded --- scripts/tests/chiptest/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/tests/chiptest/__init__.py b/scripts/tests/chiptest/__init__.py index 24779906efbdcd..a97ad38ead95a6 100644 --- a/scripts/tests/chiptest/__init__.py +++ b/scripts/tests/chiptest/__init__.py @@ -186,14 +186,19 @@ def tests_with_command(chip_tool: str, is_manual: bool): if is_manual: test_tags.add(TestTag.MANUAL) + in_development_tests = [s.replace(".yaml", "") for s in _GetInDevelopmentTests()] + for name in result.stdout.decode("utf8").split("\n"): if not name: continue target = target_for_name(name) + tags = test_tags.copy() + if name in in_development_tests: + tags.add(TestTag.IN_DEVELOPMENT) yield TestDefinition( - run_name=name, name=name, target=target, tags=test_tags + run_name=name, name=name, target=target, tags=tags )