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.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.sh

    r12272 r12422  
    1111 
    1212if [ $# -gt 0 ]; then 
    13   while getopts :ht: option; do  
     13  while getopts t:csh option; do  
    1414     case $option in 
     15        c) export SETTE_CLEAN_CONFIGS='yes' 
     16           echo "" 
     17           echo "Configuration $SETTE_TEST_CONFIGS will be cleaned" 
     18           echo "";; 
     19        s) export SETTE_SYNC_CONFIGS='yes' 
     20           echo "" 
     21           echo "MY_SRC and EXP00 in $SETTE_TEST_CONFIGS will be synchronised with the MY_SRC and EXPREF from the reference configuration" 
     22           echo "";; 
    1523        t) export SETTE_TEST_CONFIGS=$OPTARG 
    1624           echo "" 
    1725           echo "Configuration $SETTE_TEST_CONFIGS will be tested if they are available" 
    1826           echo "" ;; 
    19         h | *) echo 'sette.sh allow no arguments (all configuration will be tested or -t "CFG1_to_test CFG2_to_test ..."'; exit 42 ;; 
     27        h | *) echo 'sette.sh allows no arguments (in this case all configuration will be tested)' 
     28               echo '-t "CFG1_to_test CFG2_to_test ..." to test some specific configurations' 
     29               echo '-c to clean each configuration' 
     30               echo '-s to synchronise the sette MY_SRC and EXP00 with the reference MY_SRC and EXPREF'; exit 42 ;; 
    2031     esac 
    2132  done 
Note: See TracChangeset for help on using the changeset viewer.