From 957f6c097428e1eb735efd9eebc332a1f47a321b Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 17 Jan 2018 16:19:04 +0100 Subject: [PATCH] fixed: do not add parallel regression test if MPI is not enabled --- compareECLFiles.cmake | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/compareECLFiles.cmake b/compareECLFiles.cmake index 2b8407ed9..8405ac70c 100644 --- a/compareECLFiles.cmake +++ b/compareECLFiles.cmake @@ -251,13 +251,6 @@ foreach(sim flow flow_legacy) REL_TOL ${rel_tol_restart}) endforeach() - add_test_compare_parallel_restarted_simulation(CASENAME spe1 - FILENAME SPE1CASE2_ACTNUM - SIMULATOR flow - ABS_TOL ${abs_tol_restart} - REL_TOL ${rel_tol_restart}) - - # Init tests opm_set_test_driver(${PROJECT_SOURCE_DIR}/tests/run-init-regressionTest.sh "") @@ -273,6 +266,14 @@ endforeach() # Parallel tests if(MPI_FOUND) + opm_set_test_driver(${PROJECT_SOURCE_DIR}/tests/run-restart-regressionTest.sh "") + add_test_compare_parallel_restarted_simulation(CASENAME spe1 + FILENAME SPE1CASE2_ACTNUM + SIMULATOR flow + ABS_TOL ${abs_tol_restart} + REL_TOL ${rel_tol_restart}) + + opm_set_test_driver(${PROJECT_SOURCE_DIR}/tests/run-parallel-regressionTest.sh "") # Different tolerances for these tests