Ignore:
Timestamp:
05/26/20 15:16:30 (4 years ago)
Author:
yushan
Message:

trunk : only copy valid reports to XIOS_TEST_SUITE_REPOSITORY

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/xios_test_suite/COMPILE/compile_jeanzay

    r1884 r1886  
    1010mkdir -p ${build_dir}/build_${xios_machine_name} 
    1111 
    12 #cp build_*.txt ${build_dir}/build_${xios_machine_name} 
    13 cp build_${revision}_*.txt ${build_dir}/build_${xios_machine_name} 
     12allreports=`ls ./build_${revision}_*.txt` 
     13for report in $allreports 
     14do 
     15   ll=$(wc -l $report | awk '{print $1}') 
     16   if [[ $(($ll)) > 4 ]] ;  then 
     17      echo "$report need to be copied" 
     18      cp $report ${build_dir}/build_${xios_machine_name} 
     19   fi 
     20done 
     21 
    1422CHMOD -R ${build_dir}/build_${xios_machine_name} 
    1523 
Note: See TracChangeset for help on using the changeset viewer.