Skip to content

Commit

Permalink
moved messages to testing.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Jan 16, 2025
1 parent 1b757f8 commit 3162111
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ include(ProcessorCount)
ProcessorCount(HOST_NPROC)
message("TESTING ON SYSTEM WITH ${HOST_NPROC} CPU Cores")

message(STATUS "MPIEXEC_EXECUTABLE: ${MPIEXEC_EXECUTABLE}")
message(STATUS "MPIEXEC_NUMPROC_FLAG: ${MPIEXEC_NUMPROC_FLAG}")
message(STATUS "VALGRIND_EXECUTABLE: ${VALGRIND_EXECUTABLE}")
message(STATUS "VALGRIND_ARGS: ${VALGRIND_ARGS}")

#helper variables for readability
set(rendezvous 1)
set(notRendezvous 0)
Expand Down
5 changes: 5 additions & 0 deletions test/testing.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ endif ()
set(VALGRIND_EXECUTABLE "none" CACHE FILEPATH "path to valgrind executable")
set(VALGRIND_ARGS "none" CACHE STRING "specify valgrind options; logging (--log-file=%p_<name>.vg) is enabled by default if VALGRIND_EXECUTABLE is set")

message(STATUS "MPIEXEC_EXECUTABLE: ${MPIEXEC_EXECUTABLE}")
message(STATUS "MPIEXEC_NUMPROC_FLAG: ${MPIEXEC_NUMPROC_FLAG}")
message(STATUS "VALGRIND_EXECUTABLE: ${VALGRIND_EXECUTABLE}")
message(STATUS "VALGRIND_ARGS: ${VALGRIND_ARGS}")

function(add_exe NAME)
add_executable(${NAME} ${NAME}.cpp)
target_link_libraries(${NAME} pcms::core)
Expand Down

0 comments on commit 3162111

Please sign in to comment.