Remove BM_ prefix, drop application loop benchmark, fix core includes

- Remove BM_ prefix from all benchmark names (unnecessary convention)
- Remove bench_application_loop.cpp (App needs pre_setup/setup which
  requires full code generation; will revisit as integration benchmark)
- Fix extra_include_dirs to use os.path.relpath for sibling directories
This commit is contained in:
J. Nick Koston
2026-03-16 22:27:03 -10:00
parent 456a7d740e
commit a92147e1c9
6 changed files with 55 additions and 59 deletions
+3 -7
View File
@@ -356,13 +356,9 @@ def build_and_run(
if extra_include_dirs:
for d in extra_include_dirs:
if d.is_dir() and (any(d.glob("*.cpp")) or any(d.glob("*.h"))):
# Use path relative to tests_dir for PlatformIO includes
try:
rel = d.relative_to(tests_dir)
includes.append(str(rel))
except ValueError:
# Not relative to tests_dir, use absolute
includes.append(str(d))
# ESPHome includes are relative to the config directory (tests_dir)
rel = os.path.relpath(d, tests_dir)
includes.append(rel)
# Discover platform sub-components
try: