Changeset 943da2c in rtems for c


Ignore:
Timestamp:
Sep 8, 2008, 7:29:21 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
464ec0d
Parents:
d1dde59
Message:

2008-09-08 Joel Sherrill <joel.sherrill@…>

  • runtest.in: Update to support .exe or .ralf extension.
Location:
c/src/lib/libbsp/sparc/erc32/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/erc32/tools/ChangeLog

    rd1dde59 r943da2c  
     12008-09-08      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * runtest.in: Update to support .exe or .ralf extension.
     4
    152008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • c/src/lib/libbsp/sparc/erc32/tools/runtest.in

    rd1dde59 r943da2c  
    1919        -l logdir   -- specify log directory (default is 'logdir')
    2020
    21   Specify test as 'test' or 'test.exe'.
     21  Specify test as 'test' or 'test.exe' or 'test.ralf'.
    2222  All multiprocessing tests *must* be specified simply as 'mp01', etc.
    2323"
     
    110110if [ ! "$tests" ]
    111111then
    112      set -- `echo *.exe`
     112     set -- `echo *.exe *.ralf`
    113113     tests="$*"
    114114fi
     
    128128do
    129129
    130    tname=`basename $tfile .exe`
     130   echo $tfile | grep "exe$" >/dev/null
     131   if [ $? -eq 0 ] ; then
     132     ext=.exe
     133   else
     134     ext=.ralf
     135   fi
     136   tname=`basename $tfile ${ext}`
    131137   TEST_TYPE="single"
    132138
     
    145151      *-node1*)
    146152           warn "Running both nodes associated with $tname"
    147            variant=`echo $tname | sed 's/.*-node[12]//' | sed 's/\.exe//'`
     153           variant=`echo $tname | sed 's/.*-node[12]//' | sed "s/${ext}/"`
    148154           tname=`echo $tname | sed 's/-node.*//'`
    149155           TEST_TYPE="mp"
Note: See TracChangeset for help on using the changeset viewer.