Changeset 757701c in rtems-testing


Ignore:
Timestamp:
Jul 14, 2010, 4:29:00 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
f866027
Parents:
4dead7c
Message:

2010-07-14 Joel Sherrill <joel.sherrilL@…>

  • do_coverage, rtems_items.sed: Include more info in summary.
Location:
rtems-coverage
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • rtems-coverage/ChangeLog

    r4dead7c r757701c  
     12010-07-14      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * do_coverage, rtems_items.sed: Include more info in summary.
     4
    152010-07-14      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • rtems-coverage/do_coverage

    r4dead7c r757701c  
    341341}
    342342
     343generate_size_per_file()
     344{
     345  total=0
     346  pfile=X
     347  cut -d':' -f1 ${results_dir}/sizes_all.txt | sort  -k3 | while read line
     348  do
     349    size=`echo $line | cut -d' ' -f1`
     350    file=`echo $line | cut -d' ' -f3`
     351    #echo $size XXX $file
     352    if [ $file != $pfile ] ; then
     353      if [ $pfile != X ]; then
     354        echo $total $pfile
     355        total=0
     356      fi
     357      pfile=$file
     358    fi
     359    #echo ADD $file $total $size `expr $total + $size`
     360    total=`expr $total + $size`
     361  done | sort -n -r
     362}
     363
    343364# generate the coverage report set
    344365generate_reports()
     
    409430  cat ${results_dir}/sizes_unreferenced.txt ${results_dir}/sizes.txt | \
    410431    sort -n -r >${results_dir}/sizes_all.txt
     432
     433  generate_size_per_file >${results_dir}/size_per_file.txt
    411434
    412435  generate_html ${results_dir}/summary.txt >${results_dir}/row.html
  • rtems-coverage/rtems_items.sed

    r4dead7c r757701c  
    66  <li>Tests With Possible Issues \
    77    (<a href="testsWithNoEndOfTest.txt">text<\/a>)<\/li>\
     8  <li>Sum of Sizes of Ranges per File\
     9    (<a href="size_per_file.txt">text<\/a>)<\/li>\
    810  <li>Size of Unreferenced Symbols \
    911    (<a href="sizes_unreferenced.txt">text<\/a>)<\/li>\
Note: See TracChangeset for help on using the changeset viewer.