Changeset 4aa1b66 in rtems-testing for rtems-coverage/generate_coverage_html


Ignore:
Timestamp:
Sep 16, 2009, 2:41:27 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
ce19c34
Parents:
8a347d0
Message:

2009-09-16 Joel Sherrill <joel.sherrill@…>

  • generate_coverage_html: Modify sort order.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtems-coverage/generate_coverage_html

    r8a347d0 r4aa1b66  
    9393    #   -e 's/<\/TD>/<\/CENTER><\/TD>/g'
    9494
    95     ls -1 ${bsp}-*-*-*/row.html | sort -t - -k 1,2 -k 3,4n | xargs -e cat | \
     95    # 1   2      3      4
     96    #bsp-opt-yyyymmdd-hhmm.tar.bz2
     97    # sort 1,2 alphabetically, sort 3,4 reverse "version"
     98    ls -1 ${bsp}-*-*-*/row.html | sort -t -  -k 1,2 -k 3,4Vr | xargs -e cat | \
    9699       sed \
    97100        -e 's/<TD>\(20[0-9][0-9]\)\([0-1][0-9]\)\([0-9][0-9]\)/<TD>\1-\2-\3/' \
     
    111114for i in *.tar.bz2
    112115do
    113   tar xjf $i
     116  dir=`echo $i | sed -e 's/.tar.bz2$//'`
     117  if [ ! -d ${dir} ] ; then
     118    tar xjf $i
     119  fi
    114120done
    115121
Note: See TracChangeset for help on using the changeset viewer.