Skip to content

Commit

Permalink
Fix in development test parsing for non hardcoded
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille committed May 15, 2023
1 parent c4bba61 commit 0dc169a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/tests/chiptest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)


Expand Down

0 comments on commit 0dc169a

Please sign in to comment.