mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -06:00
make the test runner script also work for semi-implicit simulations
This commit is contained in:
parent
9f13b80118
commit
63d554ff08
@ -58,7 +58,7 @@ case "$TEST_TYPE" in
|
||||
echo "######################"
|
||||
echo "# Comparing results"
|
||||
echo "######################"
|
||||
SIM_NAME=$(grep "Writing result file for" test-$RND.log | sed "s/.*\"\(.*\)\".*/\1/" | head -n1)
|
||||
SIM_NAME=$(grep "Initializing problem" test-$RND.log | sed "s/.*\"\(.*\)\".*/\1/" | head -n1)
|
||||
TEST_RESULT=$(ls $SIM_NAME*.vtu $SIM_NAME*.vtp 2> /dev/null | sort | tail -n 1)
|
||||
rm "test-$RND.log"
|
||||
if ! test -r "$TEST_RESULT"; then
|
||||
|
Loading…
Reference in New Issue
Block a user