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/TEST_SUITE/run_test_jeanzay_local

    r1844 r1846  
    11#!/bin/bash 
    22 
     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) 
     5if (( ${server_revision} >= ${revision} )) 
     6then 
    37sbatch --wait job_jeanzay_local.sh  
    48 
    59bash -c "python generate_test.py" 
     10else 
     11echo "latest version ... no need to test" 
     12 
     13fi 
Note: See TracChangeset for help on using the changeset viewer.