Skip to content

Commit 94ba064

Browse files
committed
fix missing project path failure
Signed-off-by: Alex Peterson <[email protected]>
1 parent 37c3b90 commit 94ba064

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/Platform/Windows/Packaging/Tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ def __init__(self, request, temp_dir):
4747
self.install_root = Path(request.config.getoption("--install-root")).resolve()
4848
self.project_path = Path(request.config.getoption("--project-path")).resolve()
4949

50+
# create the project path or TemporaryDirectory can fail
51+
os.makedirs(self.project_path, exist_ok=True)
52+
5053
# use a temp folder inside the project path to avoid issues where we cannot
5154
# clean up or remove the actual project folder
5255
with TemporaryDirectory(dir=self.project_path) as tmp_project_dir:

0 commit comments

Comments
 (0)