From 649725d177fae8964344c3f4f177ae680e3124f0 Mon Sep 17 00:00:00 2001 From: Ishaan Desai Date: Fri, 20 Sep 2024 15:52:52 +0200 Subject: [PATCH] Use correct path in test execution in the CMake recipe --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 3c0bf2b..bcad6fd 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -27,7 +27,7 @@ foreach(N RANGE ${N_TESTS}) add_test( NAME ${FANS_TEST_CASE} - COMMAND mpiexec -n ${FANS_N_MPI_PROCESSES} ${FANS_EXECUTABLE} input_files/test_${FANS_TEST_CASE}.json ${FANS_TEST_OUTPUT_DIR}/test_${FANS_TEST_CASE}.h5 + COMMAND mpiexec -n ${FANS_N_MPI_PROCESSES} ${FANS_EXECUTABLE} ../test/input_files/test_${FANS_TEST_CASE}.json ${FANS_TEST_OUTPUT_DIR}/test_${FANS_TEST_CASE}.h5 WORKING_DIRECTORY ${FANS_TEST_INPUT_DIR} ) endforeach()