Changeset c08f442 in rtems-testing for sim-scripts


Ignore:
Timestamp:
Sep 30, 2009, 9:17:38 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
c2d65e2
Parents:
4aebcc8
Message:

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

  • .cvsignore, Makefile, gdb-sim-run.in: Add QEMU Gumstix Connex support.
  • qemu-gumstix.in: New file.
Location:
sim-scripts
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • sim-scripts/.cvsignore

    r4aebcc8 rc08f442  
    3737psim
    3838psim-gdb
     39qemu-gumstix
    3940qemu-leon2
    4041qemuppc
  • sim-scripts/ChangeLog

    r4aebcc8 rc08f442  
     12009-09-30      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * .cvsignore, Makefile, gdb-sim-run.in: Add QEMU Gumstix Connex
     4        support.
     5        * qemu-gumstix.in: New file.
     6
    172009-09-27      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • sim-scripts/Makefile

    r4aebcc8 rc08f442  
    99
    1010TSIM_SCRIPTS=erc32 leon2 leon3
    11 QEMU_SCRIPTS=pc386 qemuppc qemu-leon2 uC5282
     11QEMU_SCRIPTS=pc386 qemuppc qemu-gumstix qemu-leon2 uC5282
    1212OTHER_SCRIPTS=avrtest
    1313GENERATED_SCRIPTS=\
     
    3737qemuppc: gdb-sim-run.in qemuppc.in
    3838        ./mkrun no PowerPC powerpc qemuppc
     39
     40qemu-gumstix: gdb-sim-run.in qemu-gumstix.in
     41        ./mkrun no ARM arm qemu-gumstix
    3942
    4043qemu-leon2: gdb-sim-run.in qemu-leon2.in
  • sim-scripts/gdb-sim-run.in

    r4aebcc8 rc08f442  
    1919  exit $exit_code
    2020}
    21 
    2221
    2322progname=${0##*/}        # fast basename hack for ksh, bash
     
    136135bspNeedsTraceConversion="no"
    137136bspRunsFailRandomly="no"
     137bspInputDevice=/dev/console
    138138
    139139for v in 4.10 4.9 4.8 4.7 ""
     
    281281  if [ ${max_run_time} -eq 0 ] ; then
    282282    #echo run ${testname} forever
    283     ${runBSP} `runARGS ${testname}`
     283    ${runBSP} `runARGS ${testname}` <${bspInputDevice}
    284284    return
    285285  fi
     
    292292
    293293  if [ ${bspSimTrustedToExit} = "yes" ] ; then
    294     ${runBSP} `runARGS ${testname}` >${logfile} 2>&1
     294    ${runBSP} `runARGS ${testname}`  <${bspInputDevice} >${logfile} 2>&1
    295295    catLog ${logfile}
    296296    return
    297297  fi
    298298
    299   ${runBSP} `runARGS ${testname}` >${logfile} 2>&1 &
     299  ${runBSP} `runARGS ${testname}`  <${bspInputDevice} >${logfile} 2>&1 &
    300300  pid=$!
    301301
     
    382382  if [ ${bspSupportsGDBServerMode} = "yes" -a ${gdb_server_mode} = "yes" ];then
    383383    test ${verbose} == 'yes' && echo ${runBSP} `runARGS ${toRun}`
    384     ${runBSP} `gdbServerARGS ${toRun}`
     384    ${runBSP} `gdbServerARGS ${toRun}` <${bspInputDevice}
    385385    exit 0
    386386  fi
     
    438438  # some BSPs produce trace oriented files which need to be converted
    439439  # to object coverage maps
    440   if [ ${bspNeedsTraceConversion} = "yes" ] ; then
     440  if [ ${coverage} = "yes" -a ${bspNeedsTraceConversion} = "yes" ] ; then
    441441    convertTraceToCoverageMap ${toRun}
    442442  fi
Note: See TracChangeset for help on using the changeset viewer.