Changeset 32a4ebc in rtems-testing


Ignore:
Timestamp:
May 14, 2014, 7:15:48 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
98cefe7
Parents:
5e5439a
git-author:
Joel Sherrill <joel.sherrill@…> (05/14/14 19:15:48)
git-committer:
Jennifer Averett <jennifer.averett@…> (05/14/14 19:16:24)
Message:

Add removal of CR from output of tsim.

Location:
sim-scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sim-scripts/gdb-sim-run.in

    r5e5439a r32a4ebc  
    275275{
    276276  logfile=${1}
     277
     278  if [ ${bspNeedsDos2Unix} = "yes" ] ; then
     279    sed --in-place -e 's/\r//g' ${logfile}
     280    # alternative way to do the above
     281    # tr -d "\015" <${logfile}
     282  fi
     283
    277284  if [ ${doCatOutput} = "no" ] ; then
    278285    return
    279286  fi
    280 
    281   if [ ${bspNeedsDos2Unix} = "yes" ] ; then
    282     dos2unix ${logfile}
    283   fi
    284 
    285   tr -d "\015" <${logfile}
     287  cat ${logfile}
    286288  echo
    287289}
  • sim-scripts/tsim-support

    r5e5439a r32a4ebc  
    99bspSupportsGDBServerMode="yes"
    1010bspNeedsSttySane="no"
     11bspNeedsDos2Unix="yes"
    1112
    1213type ${runBSP} >/dev/null 2>&1
Note: See TracChangeset for help on using the changeset viewer.