Skip to content

Commit 98c5de8

Browse files
Merge pull request o3de#17548 from aws-lumberyard-dev/AMZN-alexpete/fix-test-missing-folder
Fix release installer test missing folder
2 parents bdbb7c8 + 94ba064 commit 98c5de8

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)