From a0db7c3229db7ae584ccf710bff24d5ac7e138a1 Mon Sep 17 00:00:00 2001 From: Rohith Nair Date: Tue, 29 May 2018 16:35:26 +0200 Subject: [PATCH] Add test for carter tracy aquifer --- compareECLFiles.cmake | 7 +++++++ tests/update_reference_data.sh | 11 ++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) mode change 100644 => 100755 compareECLFiles.cmake diff --git a/compareECLFiles.cmake b/compareECLFiles.cmake old mode 100644 new mode 100755 index b01e3c3fd..13b230119 --- a/compareECLFiles.cmake +++ b/compareECLFiles.cmake @@ -195,6 +195,13 @@ add_test_compareECLFiles(CASENAME spe1_thermal REL_TOL ${rel_tol} DIR spe1) +add_test_compareECLFiles(CASENAME ctaquifer_2d_oilwater + FILENAME 2D_OW_CTAQUIFER + 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 ab88a21c9..50f30707f 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 spe1nowells spe1thermal spe3 spe5 spe9 norne_init msw_2d_h msw_3d_hfa polymer2d spe9group polymer_oilwater" +test -z "$tests" && tests="spe11 spe12 spe12p spe1oilgas spe1nowells spe1thermal ctaquifer_2d_oilwater spe3 spe5 spe9 norne_init msw_2d_h msw_3d_hfa polymer2d spe9group polymer_oilwater" if grep -q -i "norne " <<< $ghprbCommentBody then if test -d $WORKSPACE/deps/opm-tests/norne/flow @@ -98,6 +98,15 @@ for test_name in ${tests}; do EGRID INIT SMSPEC UNRST UNSMRY fi + if grep -q "ctaquifer_2d_oilwater" <<< $test_name + then + copyToReferenceDir \ + $configuration/build-opm-simulators/tests/results/flow+ctaquifer_2d_oilwater/ \ + $OPM_TESTS_ROOT/spe1/opm-simulation-reference/flow \ + 2D_OW_CTAQUIFER \ + EGRID INIT SMSPEC UNRST UNSMRY + fi + if grep -q "msw_2d_h" <<< $test_name then copyToReferenceDir \