From 0f2db9d11a632d83469439c089e6b52c31791739 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Tue, 25 Aug 2020 11:00:57 -0600 Subject: [PATCH] converting more tests to use new --with-mpiexec option --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00816692f4e..6f1023cf9eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -442,3 +442,12 @@ configure_file ( "${PROJECT_SOURCE_DIR}/cmake_config.h.in" "${PROJECT_BINARY_DIR}/config.h" ) + +# Configure test scripts. +set(MPIEXEC mpiexec) +configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/tests/cunit/run_tests.sh.in + ${CMAKE_CURRENT_BINARY_DIR}/tests/cunit/run_tests.sh @ONLY) +configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/examples/c/run_tests.sh.in + ${CMAKE_CURRENT_BINARY_DIR}/examples/c/run_tests.sh @ONLY)