test_build_system: fix idf_copy fixture not changing IDF_PATH

This commit is contained in:
Ivan Grokhotkov
2022-11-01 19:57:03 +01:00
parent e0d564fc30
commit 5d2f900bef

View File

@@ -120,6 +120,7 @@ def idf_copy(session_work_dir: Path, request: FixtureRequest) -> typing.Generato
shutil.copytree(path_from, path_to, ignore=ignore, symlinks=True)
orig_idf_path = os.environ['IDF_PATH']
os.environ['IDF_PATH'] = str(path_to)
yield Path(path_to)