Skip to content

Commit

Permalink
Increase the libcu++ timeout (#2435)
Browse files Browse the repository at this point in the history
* Increase the libcu++ timeout

We are frequently running into  to the current test duration limit of 01:20, so add another 20 minutes to the timeout.

---------

Co-authored-by: Allison Piper <[email protected]>
  • Loading branch information
miscco and alliepiper committed Sep 19, 2024
1 parent 7bd04ad commit 5e14128
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libcudacxx/test/libcudacxx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ if (NOT LIBCUDACXX_TEST_WITH_NVRTC)
add_custom_target(libcudacxx.test.lit.precompile
DEPENDS libcudacxx.test.public_headers libcudacxx.test.internal_headers libcudacxx.test.public_headers_host_only
COMMAND "${CMAKE_COMMAND}" -E env "LIBCUDACXX_SITE_CONFIG=${lit_site_cfg_path}"
"${libcudacxx_LIT}" -vv --no-progress-bar ${libcudacxx_LIT_FLAGS} "-Dexecutor=\"NoopExecutor()\"" "${libcudacxx_SOURCE_DIR}/test/libcudacxx"
"${libcudacxx_LIT}" -vv --no-progress-bar --time-tests ${libcudacxx_LIT_FLAGS}
"-Dexecutor=\"NoopExecutor()\"" "${libcudacxx_SOURCE_DIR}/test/libcudacxx"
)

endif()
Expand All @@ -125,12 +126,11 @@ set(libcudacxx_LIT_PARALLEL_LEVEL 8 CACHE STRING
add_test(NAME libcudacxx.test.lit COMMAND
"${CMAKE_COMMAND}" -E env
"LIBCUDACXX_SITE_CONFIG=${lit_site_cfg_path}"
"${libcudacxx_LIT}" -vv --no-progress-bar ${libcudacxx_LIT_FLAGS}
-j "${libcudacxx_LIT_PARALLEL_LEVEL}"
"${libcudacxx_SOURCE_DIR}/test/libcudacxx"
"${libcudacxx_LIT}" -vv --no-progress-bar --time-tests ${libcudacxx_LIT_FLAGS}
-j "${libcudacxx_LIT_PARALLEL_LEVEL}" "${libcudacxx_SOURCE_DIR}/test/libcudacxx"
)

set_tests_properties(libcudacxx.test.lit PROPERTIES
TIMEOUT 4800
TIMEOUT 5000
RUN_SERIAL TRUE
)

0 comments on commit 5e14128

Please sign in to comment.