commit | c772234e433adcb8f80ac940e812e44c227debf7 | [log] [tgz] |
---|---|---|
author | Michal Smola <michal.smola@nxp.com> | Wed Jan 17 10:51:12 2024 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Jan 19 06:54:17 2024 -0500 |
tree | 4c74dc24c86c62d8d6df3b191aa87228df7ea85b | |
parent | 2438dbb613731f1abb90be9e1b4c7bd529d46574 [diff] |
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: Michal Smola <michal.smola@nxp.com>