forked from espressif/esp-idf
test_build_system: fix idf_copy fixture not changing IDF_PATH
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user