New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 10747 for NEMO/branches/2019/fix_sette_ticket2239/sette_test-cases.sh – NEMO

Ignore:
Timestamp:
2019-03-12T18:00:52+01:00 (5 years ago)
Author:
smueller
Message:

Addition of configurability of the set of active test configurations, see comment 14 of ticket #2239

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/fix_sette_ticket2239/sette_test-cases.sh

    r10717 r10747  
    143143cp BATCH_TEMPLATE/${JOB_PREFIX}-${COMPILER} job_batch_template || exit 
    144144# Description of configuration tested: 
    145 # OVERFLOW       : TEST s-coordinates : (tracers) Advection schemes: FCT2, FCT4, ubs  
    146 #                                        & (dynamics) advection schemes: flux form (ubs, centered), vector form (een) 
    147 #                          zps-coordinates : (tracers) Advection schemes: FCT2, FCT4, ubs 
    148 #                                        & (dynamics) advection schemes: flux form (ubs, centered), vector form (een, and een + Hollingsworth correction) 
    149 # LOCK_EXCHANGE  : 2 
    150 # VORTEX         : 3 
    151 # ICE_AGRIF      : 4 
    152 # ISOMIP         : 5 
     145# OVERFLOW       : TEST s-coordinates : (tracers) Advection schemes: FCT2, FCT4, ubs  
     146#                                     & (dynamics) advection schemes: flux form (ubs, centered), vector form (een) 
     147#                       zps-coordinates : (tracers) Advection schemes: FCT2, FCT4, ubs 
     148#                                     & (dynamics) advection schemes: flux form (ubs, centered), vector form (een, and een + Hollingsworth correction) 
     149# LOCK_EXCHANGE  :  
     150# VORTEX         :  
     151# ICE_AGRIF      :  
     152# ISOMIP         :  
    153153# WAD 
    154154 
    155155 
    156 for config in 1 2 3 4 5  
     156for config in ${TEST_CONFIGS} 
    157157do 
    158158 
     
    160160#  OVERFLOW 
    161161# --------- 
    162 if [ ${config} -eq 1 ] ;  then 
     162if [ ${config} == "OVERFLOW" ] ;  then 
    163163    ## Restartability tests for OVERFLOW 
    164164    export TEST_NAME="LONG" 
     
    254254#  LOCK_EXCHANGE 
    255255# -------------- 
    256 if [ ${config} -eq 2 ] ;  then 
     256if [ ${config} == "LOCK_EXCHANGE" ] ;  then 
    257257    ## Restartability tests for LOCK_EXCHANGE 
    258258    export TEST_NAME="LONG" 
     
    349349# VORTEX 
    350350# --------- 
    351 if [ ${config} -eq 3 ] ;  then  
     351if [ ${config} == "VORTEX" ] ;  then  
    352352## Restartability tests for VORTEX 
    353353    export TEST_NAME="LONG" 
     
    522522# ICE_AGRIF 
    523523# --------- 
    524 if [ ${config} -eq 4 ] ;  then  
     524if [ ${config} == "ICE_AGRIF" ] ;  then  
    525525## Restartability tests for ICE_AGRIF 
    526526    export TEST_NAME="LONG" 
     
    703703# ISOMIP 
    704704# ------ 
    705 if [ ${config} -eq 5 ] ;  then 
     705if [ ${config} == "ISOMIP" ] ;  then 
    706706## Restartability tests 
    707707    export TEST_NAME="LONG" 
Note: See TracChangeset for help on using the changeset viewer.