added: option to add a restart run to a regression test

this restarts the simulation at a specified step.
it then compares the results from this run to a separate,
existing regression data set.
This commit is contained in:
Arne Morten Kvarving
2021-09-24 14:34:53 +02:00
parent e0f7b082c1
commit c6d2fc85ef
5 changed files with 51 additions and 14 deletions
+10
View File
@@ -183,6 +183,16 @@ do
$casename \
EGRID INIT RFT SMSPEC UNRST UNSMRY
test $? -eq 0 && changed_tests="$changed_tests $test_name"
if [ -d $configuration/build-opm-simulators/tests/results/$binary+$test_name/restart ]
then
copyToReferenceDir \
$BUILD_DIR/tests/results/$binary+$test_name/restart/ \
$OPM_TESTS_ROOT/$dirname/opm-simulation-reference/$binary/restart \
$casename \
EGRID INIT RFT SMSPEC UNRST UNSMRY
test $? -eq 0 && changed_tests="$changed_tests $test_name(restart)"
fi
fi
done
done