Skip to content

Commit

Permalink
Move DLAF_PIKATEST_EXTRA_ARGS variable to DLAF_AddTest.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg committed Mar 21, 2024
1 parent 47a4023 commit f8e1ef4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cmake/DLAF_AddTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
# include/
# )

set(DLAF_PIKATEST_EXTRA_ARGS "" CACHE STRING "Extra arguments for tests with pika")

# Check if LIST_NAME contains at least an element that matches ELEMENT_REGEX. If not, add FALLBACK
# to the list.
function(_set_element_to_fallback_value LIST_NAME ELEMENT_REGEX FALLBACK)
Expand Down
2 changes: 0 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ option(
# significantly faster when threads are not pinned.
option(DLAF_TEST_THREAD_BINDING_ENABLED "If OFF disables pika thread binding." ON)

set(DLAF_PIKATEST_EXTRA_ARGS "" CACHE STRING "Extra arguments for tests with pika")

# If DLAF_CI_RUNNER_USES_MPIRUN=on we don't want to use any preset, so we just go for the custom one
# without setting any variable.
if(DLAF_CI_RUNNER_USES_MPIRUN)
Expand Down

0 comments on commit f8e1ef4

Please sign in to comment.