diff --git a/compareECLFiles.cmake b/compareECLFiles.cmake index a17bb53a4..39f9798b6 100644 --- a/compareECLFiles.cmake +++ b/compareECLFiles.cmake @@ -181,6 +181,13 @@ add_test_compareECLFiles(CASENAME spe1 ABS_TOL ${abs_tol} REL_TOL ${rel_tol}) +add_test_compareECLFiles(CASENAME spe1_nowells + FILENAME SPE1CASE2_NOWELLS + SIMULATOR flow + ABS_TOL ${abs_tol} + REL_TOL ${rel_tol} + DIR spe1) + foreach(SIM flow flow_legacy) add_test_compareECLFiles(CASENAME spe3 FILENAME SPE3CASE1 diff --git a/tests/update_reference_data.sh b/tests/update_reference_data.sh index 8a2487eb9..b9544ef55 100755 --- a/tests/update_reference_data.sh +++ b/tests/update_reference_data.sh @@ -20,7 +20,7 @@ copyToReferenceDir () { } tests=${@:2} -test -z "$tests" && tests="spe11 spe12 spe12p spe1oilgas spe3 spe5 spe9 norne_init msw_2d_h msw_3d_hfa polymer2d spe9group" +test -z "$tests" && tests="spe11 spe12 spe12p spe1oilgas spe1nowells spe3 spe5 spe9 norne_init msw_2d_h msw_3d_hfa polymer2d spe9group" if grep -q -i "norne " <<< $ghprbCommentBody then if test -d $WORKSPACE/deps/opm-data/norne/flow @@ -80,6 +80,15 @@ for test_name in ${tests}; do EGRID INIT SMSPEC UNRST UNSMRY fi + if grep -q "spe1nowells" <<< $test_name + then + copyToReferenceDir \ + $configuration/build-opm-simulators/tests/results/flow+spe1_nowells/ \ + $OPM_DATA_ROOT/spe1/opm-simulation-reference/flow \ + SPE1CASE2_NOWELLS \ + EGRID INIT SMSPEC UNRST UNSMRY + fi + if grep -q "msw_2d_h" <<< $test_name then copyToReferenceDir \