Skip to content

Commit a4edab5

Browse files
gopiotrmbolivar-nordic
authored andcommitted
[nrf fromlist] twister: short build paths - fix
squash! [nrf fromlist] twister: add option to create shorter build paths This changes was introduced to this open Upstream PR: zephyrproject-rtos/zephyr#41930 Signed-off-by: Piotr Golyzniak <[email protected]>
1 parent d391784 commit a4edab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pylib/twister/twisterlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3904,7 +3904,7 @@ def _create_build_dir_link(self, links_dir_path, instance):
39043904
significant during building by CMake on Windows OS.
39053905
"""
39063906

3907-
os.makedirs(instance.build_dir)
3907+
os.makedirs(instance.build_dir, exist_ok=True)
39083908

39093909
link_name = f"test_{self.link_dir_counter}"
39103910
link_path = os.path.join(links_dir_path, link_name)

0 commit comments

Comments
 (0)