refactor: move the v2 controller to the repository root
The ESP-IDF project, docs, tools, tests and web UI move from v2/ to the root, and the Makefile, README, build scripts and test runner drop the v2/ prefix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
71bd320661
commit
1c222771a5
66 files changed
+30
-31
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Run the led-driver link and beat tests on the host (they are plain Python)."""
|
||||
import os
|
||||
import sys
|
||||
|
||||
root = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "led-driver")
|
||||
sys.path[:0] = [os.path.join(root, "src"), os.path.join(root, "tests")]
|
||||
|
||||
import test_beat_sync # noqa: E402
|
||||
import test_espnow_rx # noqa: E402
|
||||
|
||||
n = 0
|
||||
for mod in (test_espnow_rx, test_beat_sync):
|
||||
for name, fn in vars(mod).items():
|
||||
if name.startswith("test_") and callable(fn):
|
||||
fn()
|
||||
n += 1
|
||||
print(f"{n} driver tests passed")
|
||||
Reference in new issue
Block a user