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 12422 for utils/CI/sette_ticket2304/sette_test-cases.sh – NEMO

Ignore:
Timestamp:
2020-02-20T15:25:47+01:00 (4 years ago)
Author:
mathiot
Message:

merge sync_mysrc and sync_expcfg into sync_config, add a clean_config function and add option in sette.sh to activate synchronisation of MY_SCR/EXPREF with CONFIG_ST/EXP00/MY_SRC (-s option) or to clean a config with makenemo clean (-c option)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/CI/sette_ticket2304/sette_test-cases.sh

    r12290 r12422  
    165165    cd ${MAIN_DIR} 
    166166    # 
    167     # syncronisation if target directory/file exist (not done by makenemo) 
    168167    . ${SETTE_DIR}/all_functions.sh 
    169     sync_mysrc  OVERFLOW OVERFLOW_ST 
    170     sync_expcfg OVERFLOW OVERFLOW_ST 
     168    # 
     169    clean_config OVERFLOW OVERFLOW_ST 'tests' 
     170    # 
     171    sync_config  OVERFLOW OVERFLOW_ST 'tests' 
    171172    # 
    172173    . ./makenemo -m ${CMP_NAM} -n OVERFLOW_ST -a OVERFLOW -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
     
    270271    # syncronisation if target directory/file exist (not done by makenemo) 
    271272    . ${SETTE_DIR}/all_functions.sh 
    272     sync_mysrc  LOCK_EXCHANGE LOCK_EXCHANGE_ST 
    273     sync_expcfg LOCK_EXCHANGE LOCK_EXCHANGE_ST 
     273    # 
     274    clean_config LOCK_EXCHANGE LOCK_EXCHANGE_ST 'tests' 
     275    # 
     276    sync_config  LOCK_EXCHANGE LOCK_EXCHANGE_ST 'tests' 
    274277    # 
    275278    . ./makenemo -m ${CMP_NAM} -n LOCK_EXCHANGE_ST -a LOCK_EXCHANGE -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
     
    374377    # syncronisation if target directory/file exist (not done by makenemo) 
    375378    . ${SETTE_DIR}/all_functions.sh 
    376     sync_mysrc  VORTEX VORTEX_ST 
    377     sync_expcfg VORTEX VORTEX_ST 
     379    # 
     380    clean_config VORTEX VORTEX_ST 'tests' 
     381    # 
     382    sync_config  VORTEX VORTEX_ST 'tests' 
    378383    # 
    379384    . ./makenemo -m ${CMP_NAM} -n VORTEX_ST -a VORTEX -j 8  add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
     
    557562    # syncronisation if target directory/file exist (not done by makenemo) 
    558563    . ${SETTE_DIR}/all_functions.sh 
    559     sync_mysrc  ICE_AGRIF ICE_AGRIF_ST 
    560     sync_expcfg ICE_AGRIF ICE_AGRIF_ST 
     564    # 
     565    clean_config ICE_AGRIF ICE_AGRIF_ST 'tests' 
     566    # 
     567    sync_config  ICE_AGRIF ICE_AGRIF_ST 'tests' 
    561568    # 
    562569    . ./makenemo -m ${CMP_NAM} -n ICE_AGRIF_ST -a ICE_AGRIF -j 8  add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
     
    748755    # syncronisation if target directory/file exist (not done by makenemo) 
    749756    . ${SETTE_DIR}/all_functions.sh 
    750     sync_mysrc  ISOMIP ISOMIP_ST 
    751     sync_expcfg ISOMIP ISOMIP_ST 
     757    # 
     758    clean_config ISOMIP ISOMIP_ST 'tests' 
     759    # 
     760    sync_config  ISOMIP ISOMIP_ST 'tests' 
    752761    # 
    753762    . ./makenemo -m ${CMP_NAM} -n ISOMIP_ST -a ISOMIP -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
Note: See TracChangeset for help on using the changeset viewer.