Ignore:
Timestamp:
01/03/20 15:59:55 (19 months ago)
Author:
yushan
Message:

dev_trunk_omp : launch local compile and test iff last-changed-revision >= revision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/xios_test_suite/COMPILE/compile_jeanzay_local

    r1844 r1846  
    11#!/bin/bash 
    22set -x  
    3 echo ${xios_root} 
    4 export revision=$(svn info --show-item revision ${xios_root} 2>&1) 
     3export revision=$(svn info --show-item revision ../.. 2>&1) 
     4export server_revision=$(svn info --show-item last-changed-revision http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/dev/dev_trunk_omp 2>&1) 
     5 
     6if (( ${server_revision} >= ${revision} )) 
     7then 
     8 
    59python config_compile.py 
    610 
     
    1519 
    1620bash -c "python ./generate_compile.py" 
    17 # copy_to_forge compile_${xios_machine_name}_info.js 
     21else  
    1822 
     23echo "latest revision ... no need to compile" 
     24fi 
Note: See TracChangeset for help on using the changeset viewer.