mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-04 12:43:03 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user