From b725c7f2d7c50318250c3eb6d3a527ad1be9f575 Mon Sep 17 00:00:00 2001 From: lucieb92 <lucie.bakels@univie.ac.at> Date: Thu, 23 May 2024 12:41:07 +0200 Subject: [PATCH] Added IPIN=4 test to CI/CD Former-commit-id: d157f0d876c0fc6423897319c5d0c0132ce81a94 --- tests/run_default_options_test.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/run_default_options_test.sh b/tests/run_default_options_test.sh index 7bbd6782..d975bda5 100644 --- a/tests/run_default_options_test.sh +++ b/tests/run_default_options_test.sh @@ -282,6 +282,7 @@ rm -rf ./current ./output/* cp -rf ./default_options ./current sed -i "/IPIN=/c\ IPIN= 3," ./current/COMMAND sed -i "/LDIRECT=/c\ LDIRECT= -1," ./current/COMMAND +sed -i "/LOUTRESTART=/c\ LOUTRESTART= 3600," ./current/COMMAND sed -i "/IOUTPUTFOREACHRELEASE=/c\ IOUTPUTFOREACHRELEASE= 1," ./current/COMMAND sed -i "/IOUT=/c\ IOUT= 1," ./current/COMMAND sed -i "/IBTIME=/c\ IBTIME= 020000," ./current/COMMAND @@ -292,6 +293,14 @@ cp -rf part_ic.nc output/ report "[$MM] TEST $TESTRUN (IPIN=3)" STATUS=$((STATUS + $?)) TESTSRUN=$((TESTSRUN + 1)) + +# and IPIN=4 +mv output/restart_20090101020000 output/restart.bin +sed -i "/IPIN=/c\ IPIN= 4," ./current/COMMAND +./FLEXPART pathnames +report "[$MM] TEST $TESTRUN (IPIN=4)" +STATUS=$((STATUS + $?)) +TESTSRUN=$((TESTSRUN + 1)) # clean up rm -rf ./current ./output/* # -- GitLab