Skip to content

Commit

Permalink
fix cmake test script path for pando-rt
Browse files Browse the repository at this point in the history
  • Loading branch information
ywwu928 committed Apr 9, 2024
1 parent 18ddb10 commit 8c9d568
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pando-rt/cmake/PANDOTesting.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ function(pando_add_driver_test TARGET SOURCEFILE)

if (PANDO_RT_BACKEND STREQUAL "PREP")
if (${GASNet_CONDUIT} STREQUAL "smp")
set(RUNNER_SCRIPT ${PROJECT_SOURCE_DIR}/scripts/preprun.sh)
set(RUNNER_SCRIPT ${PROJECT_SOURCE_DIR}/../scripts/preprun.sh)
elseif (${GASNet_CONDUIT} STREQUAL "mpi")
set(RUNNER_SCRIPT ${PROJECT_SOURCE_DIR}/scripts/preprun_mpi.sh)
set(RUNNER_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 8c9d568

Please sign in to comment.