Skip to content

Commit

Permalink
test/CMakeLists.txt: bumped CTest timeout to accommodate macos-* ru…
Browse files Browse the repository at this point in the history
…nner slowness
  • Loading branch information
firewave committed Aug 16, 2024
1 parent 601156b commit 5ecb4da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ if (BUILD_TESTS)
include(ProcessorCount)
ProcessorCount(N)
set(CTEST_PARALLEL_LEVEL ${N} CACHE STRING "CTest parallel level")
set(CTEST_TIMEOUT 90 CACHE STRING "CTest timeout")
# the macos-* runners are sporadically much slower than other runners so chose a high timeout
set(CTEST_TIMEOUT 130 CACHE STRING "CTest timeout")
add_custom_target(check ${CMAKE_CTEST_COMMAND} --output-on-failure -j ${CTEST_PARALLEL_LEVEL} -C ${CMAKE_CFG_INTDIR} --timeout ${CTEST_TIMEOUT}
DEPENDS testrunner cppcheck)

Expand Down

0 comments on commit 5ecb4da

Please sign in to comment.