mirror of
https://github.com/esphome/esphome.git
synced 2026-10-06 02:51:29 +00:00
[esp32] Precompile the core headers for ESP-IDF source compiles (#19820)
This commit is contained in:
@@ -174,3 +174,10 @@ def held_lock() -> Callable[..., Callable[..., None]]:
|
||||
return acquire
|
||||
|
||||
return make
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _default_pch_knobs(monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
"""The precompiled header knobs change what the generators emit; a value
|
||||
exported in the developer's or CI's shell must not reach the tests."""
|
||||
monkeypatch.delenv("ESPHOME_PCH_ENABLE", raising=False)
|
||||
|
||||
Reference in New Issue
Block a user