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_irene

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