From f6de260177d76a720428a91c079bcf76d46e9a74 Mon Sep 17 00:00:00 2001 From: Michael Schellenberger Costa Date: Thu, 19 Sep 2024 17:45:39 +0200 Subject: [PATCH] Add test `--time-tests` --- libcudacxx/test/libcudacxx/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libcudacxx/test/libcudacxx/CMakeLists.txt b/libcudacxx/test/libcudacxx/CMakeLists.txt index 1de81c4055..605c98e888 100644 --- a/libcudacxx/test/libcudacxx/CMakeLists.txt +++ b/libcudacxx/test/libcudacxx/CMakeLists.txt @@ -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() @@ -125,9 +126,8 @@ 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