mirror of
https://github.com/esphome/esphome.git
synced 2026-10-04 18:11:29 +00:00
Skip the pch when a header identity is unknown, union missing sloppiness tokens, report projenv import failures
This commit is contained in:
@@ -649,5 +649,6 @@ def test_ccache_env_pch_disabled() -> None:
|
||||
def test_ccache_env_respects_user_sloppiness() -> None:
|
||||
with patch.dict(os.environ, {"CCACHE_SLOPPINESS": "locale"}, clear=True):
|
||||
env = framework.ccache_env("/usr/bin/ccache")
|
||||
assert "CCACHE_SLOPPINESS" not in env
|
||||
# The user's tokens survive; the ones the pch needs are unioned on
|
||||
assert env["CCACHE_SLOPPINESS"] == "locale,pch_defines,time_macros"
|
||||
assert env["CCACHE_PCH_EXTSUM"] == "true"
|
||||
|
||||
Reference in New Issue
Block a user