scripts: using pathlib for in get_toolchain() method
Followup commit on comment in #32003. Using pathlib to avoid mixing of `/` and `\` if twister someday will be able to run on Windows. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
f5a4780964
commit
a088970bc3
1 changed files with 1 additions and 1 deletions
|
@ -2838,7 +2838,7 @@ class TestSuite(DisablePyTestCollectionMixin):
|
|||
|
||||
@staticmethod
|
||||
def get_toolchain():
|
||||
toolchain_script = ZEPHYR_BASE + "/cmake/verify-toolchain.cmake"
|
||||
toolchain_script = Path(ZEPHYR_BASE) / Path('cmake/verify-toolchain.cmake')
|
||||
result = CMake.run_cmake_script([toolchain_script, "FORMAT=json"])
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue