Skip to content

Commit

Permalink
fix cmake test script path
Browse files Browse the repository at this point in the history
  • Loading branch information
ywwu928 committed Apr 6, 2024
1 parent 5511be2 commit c67d1c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/PANDOTesting.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ endfunction()
function(pando_add_bin_test TARGET ARGS INPUTFILE OKFILE)
if (NOT PANDO_RT_BACKEND STREQUAL "DRVX")
if (${GASNet_CONDUIT} STREQUAL "smp")
set(DRIVER_SCRIPT ${PROJECT_SOURCE_DIR}/pando-rt/scripts/preprun.sh)
set(DRIVER_SCRIPT ${PROJECT_SOURCE_DIR}/scripts/preprun.sh)
elseif (${GASNet_CONDUIT} STREQUAL "mpi")
set(DRIVER_SCRIPT ${PROJECT_SOURCE_DIR}/pando-rt/scripts/preprun_mpi.sh)
set(DRIVER_SCRIPT ${PROJECT_SOURCE_DIR}/scripts/preprun_mpi.sh)
else ()
message(FATAL_ERROR "No runner script for GASNet conduit ${GASNet_CONDUIT}")
endif ()
Expand Down

0 comments on commit c67d1c2

Please sign in to comment.