mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-11 16:44:35 +02:00
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)
|
shutil.copytree(path_from, path_to, ignore=ignore, symlinks=True)
|
||||||
|
|
||||||
orig_idf_path = os.environ['IDF_PATH']
|
orig_idf_path = os.environ['IDF_PATH']
|
||||||
|
os.environ['IDF_PATH'] = str(path_to)
|
||||||
|
|
||||||
yield Path(path_to)
|
yield Path(path_to)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user