fix(tools): Fixed timeout and path bug for test_cli_installer_win

This commit is contained in:
Marek Fiala 2024-12-16 10:20:24 +01:00
parent 0b78083595
commit 5930a422d7
2 changed files with 4 additions and 2 deletions

View File

@ -29,6 +29,7 @@ test_cli_installer_win:
expire_in: 1 week
variables:
IDF_PATH: "$CI_PROJECT_DIR"
timeout: 3h
script:
# Tools must be downloaded for testing
- python ${IDF_PATH}\tools\idf_tools.py download required qemu-riscv32 qemu-xtensa cmake

View File

@ -322,8 +322,9 @@ class TestUsage(TestUsageBase):
self.run_idf_tools_with_action(['install', OPENOCD])
output = self.run_idf_tools_with_action(['export'])
self.assertIn('%s/tools/openocd-esp32/%s/openocd-esp32/bin' %
(self.temp_tools_dir, OPENOCD_VERSION), output)
self.assertIn(os.path.join(
self.temp_tools_dir, 'tools', 'openocd-esp32', OPENOCD_VERSION, 'openocd-esp32', 'bin'
), output)
# TestUsageUnix tests installed tools on UNIX platforms