Changeset 1846


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

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

Location:
XIOS/dev/dev_trunk_omp/xios_test_suite
Files:
8 edited

Legend:

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

    r1844 r1846  
    33set -x  
    44 
    5 export revision=$(svn info --show-item revision .. 2>&1) 
     5export revision=$(svn info --show-item revision ../.. 2>&1) 
     6export server_revision=$(svn info --show-item last-changed-revision http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/dev/dev_trunk_omp 2>&1) 
    67 
     8if (( ${server_revision} >= ${revision} )) 
     9then 
    710python config_compile.py 
    811 
     
    1922 
    2023copy_to_thredds compile_${xios_machine_name}_info.js 
     24 
     25else 
     26echo "latest revision ... no need to compile" 
     27fi 
  • XIOS/dev/dev_trunk_omp/xios_test_suite/COMPILE/compile_irene_local

    r1844 r1846  
    33set -x  
    44 
    5 export revision=$(svn info --show-item revision .. 2>&1) 
     5export revision=$(svn info --show-item revision ../.. 2>&1) 
     6export server_revision=$(svn info --show-item last-changed-revision http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/dev/dev_trunk_omp 2>&1) 
    67 
     8if (( ${server_revision} >= ${revision} )) 
     9then 
    710python config_compile.py 
    811 
     
    1821bash -c "python ./generate_compile.py" 
    1922 
     23else  
     24echo "latest revision ... no need to compile" 
     25fi 
  • 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 
  • 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 
  • XIOS/dev/dev_trunk_omp/xios_test_suite/TEST_SUITE/run_test_irene

    r1844 r1846  
    11#!/bin/bash 
    2  
     2export revision=$(svn info --show-item revision ../.. 2>&1) 
     3export server_revision=$(svn info --show-item last-changed-revision http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/dev/dev_trunk_omp 2>&1) 
     4if (( ${server_revision} >= ${revision} )) 
     5then 
    36ccc_msub -E "--wait" job_irene.sh  
    47 
     
    710copy_to_thredds  test_${xios_machine_name}_info.js 
    811mv test_${xios_machine_name}_info.js _test_${xios_machine_name}_info.js 
     12 
     13else 
     14echo "latest version ... no need to test" 
     15 
     16fi 
     17 
     18 
  • XIOS/dev/dev_trunk_omp/xios_test_suite/TEST_SUITE/run_test_irene_local

    r1844 r1846  
    11#!/bin/bash 
    2  
     2export revision=$(svn info --show-item revision ../.. 2>&1) 
     3export server_revision=$(svn info --show-item last-changed-revision http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/dev/dev_trunk_omp 2>&1) 
     4if (( ${server_revision} >= ${revision} )) 
     5then 
    36ccc_msub -E "--wait" job_irene_local.sh  
    47 
    58bash -c "python generate_test.py" 
     9else 
     10echo "latest version ... no need to test" 
     11 
     12fi 
     13 
  • XIOS/dev/dev_trunk_omp/xios_test_suite/TEST_SUITE/run_test_jeanzay

    r1844 r1846  
    11#!/bin/bash 
    2  
     2export revision=$(svn info --show-item revision ../.. 2>&1) 
     3export server_revision=$(svn info --show-item last-changed-revision http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/dev/dev_trunk_omp 2>&1) 
     4if (( ${server_revision} >= ${revision} )) 
     5then 
    36sbatch --wait job_jeanzay.sh  
    47 
     
    710copy_to_forge  test_${xios_machine_name}_info.js 
    811mv test_${xios_machine_name}_info.js _test_${xios_machine_name}_info.js 
     12 
     13else 
     14echo "latest version ... no need to test" 
     15 
     16fi 
     17 
     18 
  • 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.