Changeset 13622


Ignore:
Timestamp:
2020-10-16T15:11:34+02:00 (6 months ago)
Author:
smueller
Message:

MEDUSA-specific extension of the test for local working-copy modifications in SETTE

Location:
branches/NERC/dev_sette_NERC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_sette_NERC/all_functions.sh

    r11161 r13622  
    105105    echo "value of revision number of NEMOGCM: ${REVISION_NB}" 
    106106    fi 
    107     [ `${SVN_CMD} status -q ${SETTE_DIR}/../{cfg,tests,src} | wc -l` -ge 1 ] && REVISION_NB=${REVISION_NB}+ 
     107    # detect local modifications (one MEDUSA-specific exception) 
     108    [ `${SVN_CMD} status -q ${SETTE_DIR}/../{cfg,tests,src,src/TOP/MEDUSA,cfgs/SHARED_MEDUSA,cfgs/ORCA2_MEDUSA} | grep -v '~       ../tests/BENCH/EXPREF/namelist_top_cfg' | wc -l` -ge 1 ] && REVISION_NB=${REVISION_NB}+ 
    108109    NEMO_VALID=${NEMO_VALIDATION_DIR}/W${NEW_CONF}/${CMP_NAM}/${REVISION_NB}/${TEST_NAME} 
    109110} 
  • branches/NERC/dev_sette_NERC/sette_rpt.sh

    r13406 r13622  
    438438branchname=`LC_MESSAGES=${LANG} ${SVN_CMD} info ${MAIN_DIR} | grep ^URL | awk -F ipsl/forge/projets/nemo/svn/ '{print $NF}'` 
    439439echo "Current code is : $branchname @ r$revision  ( last change @ r$lastchange )" 
    440 [ `${SVN_CMD} status -q ${MAIN_DIR}/{cfg,tests,src} | wc -l` -ge 1 ] && lastchange=${lastchange}+ 
     440# detect local modifications (one MEDUSA-specific exception) 
     441[ `${SVN_CMD} status -q ${MAIN_DIR}/{cfg,tests,src,src/TOP/MEDUSA,cfgs/SHARED_MEDUSA,cfgs/ORCA2_MEDUSA} | grep -v '~       ../tests/BENCH/EXPREF/namelist_top_cfg' | wc -l` -ge 1 ] && lastchange=${lastchange}+ 
    441442 
    442443# overwrite revision is argument 1 present 
Note: See TracChangeset for help on using the changeset viewer.