Skip to content
Commit c772234e authored by Michal Smola's avatar Michal Smola Committed by Anas Nashif
Browse files

twister: fix build dir path for mklink



When twister is run on Windows with --short-build-path option, mklink
fails to create link, because path to build dir contains forward
slashes, which are not handled correctly by mklink.
Fix it by using os.path.normpath in mklink call.
Added os.path.join mock in twister unit test to handle path join
consistently.

Signed-off-by: default avatarMichal Smola <michal.smola@nxp.com>
parent 2438dbb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment