Skip to content

Commit

Permalink
[nrf fromlist] twister: short build paths - fix
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
gopiotr authored and mbolivar-nordic committed Feb 14, 2022
1 parent d391784 commit a4edab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pylib/twister/twisterlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -3904,7 +3904,7 @@ def _create_build_dir_link(self, links_dir_path, instance):
significant during building by CMake on Windows OS.
"""

os.makedirs(instance.build_dir)
os.makedirs(instance.build_dir, exist_ok=True)

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

0 comments on commit a4edab5

Please sign in to comment.