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

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