Changeset 1827


Ignore:
Timestamp:
12/20/19 17:55:22 (5 years ago)
Author:
yushan
Message:

XIOS test suite : add local scripts for Irene.

Location:
XIOS/trunk/xios_test_suite
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/xios_test_suite/ENV_local/irene.env

    r1824 r1827  
    22module load cmake 
    33 
    4 #CHMOD() { chmod --quiet ug+rwx,o+rx "$@" ;} 
    5 CHMOD() { } 
     4CHMOD() { chmod --quiet ug+rwx,o+rx "$@" ;} 
    65export -f CHMOD 
    76 
    87export xios_full_machine_name="Irene" 
    98export xios_test_suite_repository=${CCCWORKDIR}/XIOS_TEST_SUITE_REPOSITORY 
    10 #export xios_thredds_dir=/ccc/work/cont003/thredds/p86yann/XIOS_TEST_SUITE 
    11 export xios_reference_dir=${CCCWORKDIR}/XIOS_TEST_SUITE_REPOSITORY 
     9export xios_reference_dir=${CCCWORKDIR} 
    1210 
    13 mkdir -p $xios_test_suite_repository ; CHMOD $xios_test_suite_repository 
    14 mkdir -p $xios_thredds_dir ; CHMOD $xios_thredds_dir 
     11mkdir -p "${xios_test_suite_repository}" ; CHMOD ${xios_test_suite_repository} 
     12mkdir -p "${xios_thredds_dir}" ; CHMOD ${xios_thredds_dir} 
  • XIOS/trunk/xios_test_suite/TEST_SUITE/run_test

    r1824 r1827  
    1818set -x  
    1919 
    20  
    21 bash -c "cd ../.. && ./make_xios --arch_path `pwd`/../ARCH --arch ${arch} --${mode} --build_dir ${build_dir} --job 16" 
     20echo "Start Building XIOS ... " 
     21bash -c "cd ../.. && ./make_xios --arch_path `pwd`/../ARCH --arch ${arch} --${mode} --build_dir ${build_dir} --job 16 &> /dev/null" 
    2222export build_status=$? 
     23if [[ ${build_status} == 0 ]] 
     24then 
     25  echo "XIOS Build Finished. Start Unit Tests" 
     26else 
     27  echo "XIOS Build Failed. Skip Unit Tests" 
     28fi 
    2329 
    2430#----------- Fetch reference ----------- 
Note: See TracChangeset for help on using the changeset viewer.