Changeset 4d65f83 in rtems-testing


Ignore:
Timestamp:
Feb 9, 2011, 3:48:28 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
353a1d4
Parents:
dd0f3e9
Message:

2011-02-09 Joel Sherrill <joel.sherrilL@…>

  • generate_coverage_html: Fix bug again.
Location:
rtems-coverage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtems-coverage/ChangeLog

    rdd0f3e9 r4d65f83  
     12011-02-09      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * generate_coverage_html: Fix bug again.
     4
    152011-02-09      Joel Sherrill <joel.sherrilL@OARcorp.com>
    26
  • rtems-coverage/generate_coverage_html

    rdd0f3e9 r4d65f83  
    335335    while read dir
    336336    do
    337       bsp=`echo ${dir} | sed -e 's/.*\/.*-//'`
     337      bsp=`basename ${dir} | sed -e 's/.*\/.*-//'`
    338338      cpu=`grep ^Target ${dir}-*/configuration.txt | tail -1 | \
    339         sed -e 's/^.*://' -e 's/^.*: *\([a-z]*\)-rtems.*$/\1/'`
     339        sed -e 's/^.*Target//' | cut -d':' -f2 | cut -d'-' -f1`
    340340      echo ${cpu}/${bsp}
    341     done | sort -t / -k 1 -k 2 | cut -d'/' -f2 | sort -u
     341    done | sort -u | sort -t / -k 1 -k 2 | cut -d'/' -f2
    342342    # sort cpu,bsp alphabetically
    343343}
Note: See TracChangeset for help on using the changeset viewer.