mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-26 07:30:08 -05:00
add option to use development simulator binaries in parallel restart tests
This commit is contained in:
1 parent
011c230d9b
commit
a87457e16b
1 file changed
+16
-1
+16
-1
@@ -314,7 +314,18 @@ endfunction()
|
||||
# - This test class compares the output from a restarted parallel simulation
|
||||
# to that of a non-restarted parallel simulation.
|
||||
function(add_test_compare_parallel_restarted_simulation)
|
||||
set(oneValueArgs CASENAME FILENAME SIMULATOR ABS_TOL REL_TOL DIR MPI_PROCS RESTART_STEP TEST_NAME)
|
||||
set(oneValueArgs
|
||||
CASENAME
|
||||
FILENAME
|
||||
DEV_SIMULATOR
|
||||
SIMULATOR
|
||||
ABS_TOL
|
||||
REL_TOL
|
||||
DIR
|
||||
MPI_PROCS
|
||||
RESTART_STEP
|
||||
TEST_NAME
|
||||
)
|
||||
set(multiValueArgs TEST_ARGS)
|
||||
cmake_parse_arguments(PARAM "$" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} )
|
||||
|
||||
@@ -322,6 +333,10 @@ function(add_test_compare_parallel_restarted_simulation)
|
||||
set(PARAM_DIR ${PARAM_CASENAME})
|
||||
endif()
|
||||
|
||||
if(USE_DEV_SIMULATOR_IN_TESTS AND PARAM_DEV_SIMULATOR)
|
||||
set(PARAM_SIMULATOR ${PARAM_DEV_SIMULATOR})
|
||||
endif()
|
||||
|
||||
if (PARAM_TEST_NAME)
|
||||
set(TEST_NAME ${PARAM_TEST_NAME})
|
||||
else()
|
||||
|
||||
Reference in new issue
Block a user