| 51 |
|
|
| 52 |
if test $tst_grp = 'a' ; then |
if test $tst_grp = 'a' ; then |
| 53 |
checkOut=2 |
checkOut=2 |
| 54 |
#tst_list='g7a mpa mth mp2+rs mpi oad' |
tst_list='' |
| 55 |
tst_list='mpa adm g7a mpi mth+rs gfo+rs g77' |
tst_list="$tst_list mpa adm mpi" |
| 56 |
#tst_list="$tst_list oad" |
tst_list="$tst_list mth+rs gfo+rs" |
| 57 |
else |
else |
| 58 |
checkOut=1 |
checkOut=1 |
| 59 |
tst_list='adm g77 gfo+rs ifc' |
tst_list='adm g77 gfo+rs ifc' |
| 197 |
addExp='' |
addExp='' |
| 198 |
if test $typ = 'mpi' ; then |
if test $typ = 'mpi' ; then |
| 199 |
addExp="offline_cheapaml atm_gray atm_strato" |
addExp="offline_cheapaml atm_gray atm_strato" |
|
fi |
|
|
if test $typ = 'gfo' -o $typ = 'ifc' ; then |
|
|
addExp="$addExp shelfice_remeshing" |
|
|
fi |
|
|
if test $typ = 'mpi' ; then |
|
| 200 |
addExp="$addExp global_ocean.gm_k3d" |
addExp="$addExp global_ocean.gm_k3d" |
| 201 |
addExp="$addExp global_ocean.gm_res" |
addExp="$addExp global_ocean.gm_res" |
| 202 |
addExp="$addExp global_oce_cs32" |
addExp="$addExp global_oce_cs32" |
| 203 |
fi |
fi |
| 204 |
|
if test $typ = 'gfo' -o $typ = 'ifc' ; then |
| 205 |
|
addExp="$addExp shelfice_remeshing" |
| 206 |
|
fi |
| 207 |
#- check day and time: |
#- check day and time: |
| 208 |
curDay=`date +%d` ; curHour=`date +%H` |
curDay=`date +%d` ; curHour=`date +%H` |
| 209 |
if [ $curDay -ne $TODAY ] ; then |
if [ $curDay -ne $TODAY ] ; then |
| 210 |
date ; echo "day is over => skip test $typ" |
date ; echo "day is over => skip test $typ" |
| 211 |
continue |
continue |
| 212 |
fi |
fi |
| 213 |
if [ $curHour -ge 18 ] ; then |
if [ $curHour -ge 22 ] ; then |
| 214 |
date ; echo "too late to run test $typ" |
date ; echo "too late to run test $typ" |
| 215 |
continue |
continue |
| 216 |
fi |
fi |
| 306 |
fi |
fi |
| 307 |
#if test $exp2add = 'shelfice_remeshing' ; then |
#if test $exp2add = 'shelfice_remeshing' ; then |
| 308 |
# echo " link dir 'other_input/remeshing_code' to 'extra_code'" | tee -a $tdir/output_$tt |
# echo " link dir 'other_input/remeshing_code' to 'extra_code'" | tee -a $tdir/output_$tt |
| 309 |
# ( cd verification/${exp2add} |
# ( cd ${git_other}/${exp2add} |
| 310 |
# ln -s ../../../other_input/remeshing_code extra_code ) |
# ln -s ../../../other_input/remeshing_code extra_code ) |
| 311 |
#fi |
#fi |
| 312 |
done |
done |
| 319 |
#-- set the testreport command: |
#-- set the testreport command: |
| 320 |
comm="./testreport" |
comm="./testreport" |
| 321 |
if test $typ = 'g7a' -o $typ = 'adm' -o $typ = 'mpa' ; then |
if test $typ = 'g7a' -o $typ = 'adm' -o $typ = 'mpa' ; then |
| 322 |
comm="$comm -adm" |
#comm="$comm -adm" |
| 323 |
|
comm="$comm -adm -ncad" |
| 324 |
elif test $typ = 'oad' ; then |
elif test $typ = 'oad' ; then |
| 325 |
comm="$comm -oad" |
comm="$comm -oad" |
| 326 |
elif test $typ = 'tlm' ; then |
elif test $typ = 'tlm' ; then |