Skip to content

Commit

Permalink
test name from file
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Apr 9, 2024
1 parent 55d836e commit e3da66e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildroot/share/PlatformIO/scripts/collect-code-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def register_test_suites():
"""Register all the test suites"""
test_suites = collect_test_suites()
for path in test_suites:
name = path.parent.name
name = re.sub(r'^\d+-|\.ini$', '', path.name)

env.AddCustomTarget(
name = f"marlin_{name}",
dependencies = None,
Expand Down

0 comments on commit e3da66e

Please sign in to comment.