Changeset 84976d0 in rtems


Ignore:
Timestamp:
Aug 15, 2008, 4:25:23 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
e293d889
Parents:
e73f9f6b
Message:

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

  • runtest: Attempt to prevent runaways.
Location:
c/src/lib/libbsp/mips/jmr3904/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/jmr3904/tools/ChangeLog

    re73f9f6b r84976d0  
     12008-08-15      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * runtest: Attempt to prevent runaways.
     4
    152008-08-07      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • c/src/lib/libbsp/mips/jmr3904/tools/runtest

    re73f9f6b r84976d0  
    129129if [ ! "$tests" ]
    130130then
    131      set -- `echo *.exe`
     131     set -- `ls -1 *.exe *.ralf 2>/dev/null`
    132132     tests="$*"
    133133fi
     
    218218     # Spin off the simulator in the background
    219219
    220      ${simulator} --board=jmr3904 $tfile | \
     220     ${simulator} --board=jmr3904 $tfile </dev/null | \
    221221       sed -e 's/
    222222//' -e '/^$/d' > ${logfile} 2>&1 &
     
    237237         if [ ${milliseconds} -ge ${millilimit} ]; then
    238238           kill -9 $pid 2> /dev/null
    239            cat ${logfile}
    240            echo "${testname} killed after running ${max_run_time} seconds"
     239           #cat ${logfile}
     240           echo "${tname} killed after running ${max_run_time} seconds"
    241241           break
    242242         fi
     
    247247         if [ $badAccessExit -eq 0 -o $exceptionExit -eq 0 ] ; then
    248248           kill -9 ${pid} >/dev/null 2>&1
    249            cat ${logfile}
    250            echo Ran in ${milliseconds} milliseconds
     249           #cat ${logfile}
     250           # echo Ran in ${milliseconds} milliseconds
    251251         fi
    252252
    253253       else
    254254         # done normally
    255          cat ${logfile}
    256          echo "${testname} ran in ${milliseconds} milliseconds"
     255         # cat ${logfile}
     256         # echo "${tname} ran in ${milliseconds} milliseconds"
    257257         break
    258258       fi
Note: See TracChangeset for help on using the changeset viewer.