Changeset e0487ed in rtems


Ignore:
Timestamp:
Sep 5, 2008, 2:42:35 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
b3bbcdf1
Parents:
7eb312d5
Message:

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

  • psim-shared, psim-top.in, runtest-bottom, runtest-top.in: Now running mptests.
Location:
c/src/lib/libbsp/powerpc/psim/tools
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/psim/tools/ChangeLog

    r7eb312d5 re0487ed  
     12008-09-05      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * psim-shared, psim-top.in, runtest-bottom, runtest-top.in: Now running
     4        mptests.
     5
    162008-09-03      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/powerpc/psim/tools/psim-shared

    r7eb312d5 re0487ed  
    5252    echo "/sem@0x0c100010/key ${RTEMS_SHM_SEMAPHORE_KEY}"
    5353    echo "/sem@0x0c100010/value ${value}"
    54     $@
     54    echo
    5555    echo "##### System V IPC (Shared Memory) 0x0c110000 for 128K"
    5656    echo "/shm@0x0c110000/reg 0x0c110000 0x20000"
     
    6565  testname=${1}
    6666  max_run_time=${2}
     67  if [ $# -eq 3 ] ; then
     68    treefile=${3}
     69  else
     70    treefile=${TREE_FILE}
     71  fi
    6772  if [ ${max_run_time} -eq 0 ] ; then
    6873    #echo run ${testname} forever
    69     ${RUN} -f ${TREE_FILE} ${RUN_DEBUG} ${testname}
     74    ${RUN} -f ${treefile} ${RUN_DEBUG} ${testname}
    7075  else
    7176    #echo run ${testname} for maximum ${max_run_time} seconds
    72     ${RUN} -f ${TREE_FILE} ${RUN_DEBUG} ${testname} &
     77    ${RUN} -f ${treefile} ${RUN_DEBUG} ${testname} &
    7378    pid=$!
    7479
  • c/src/lib/libbsp/powerpc/psim/tools/psim-top.in

    r7eb312d5 re0487ed  
    1414
    1515TREE_FILE=psim_tree.${LOGNAME}
    16 RUN=@target_alias@-run
     16if [ X${RUN} = X ] ; then
     17  RUN=@target_alias@-run
     18fi
    1719
    1820
  • c/src/lib/libbsp/powerpc/psim/tools/runtest-bottom

    r7eb312d5 re0487ed  
    6363       # XXX -c ${instruction_limit}
    6464
    65        runone ${tname}-node1${variant}.${ext} ${max_run_time} | \
     65       gen_device_tree ${tname}-node1${variant}${ext}  >${TREE_FILE}_1
     66       gen_device_tree ${tname}-node2${variant}${ext}  >${TREE_FILE}_2
     67
     68       runone ${tname}-node1${variant}${ext} \
     69        ${max_run_time} ${TREE_FILE}_1 | \
    6670         sed -e 's/^M//' -e '/^$/d' > ${logfile1} &
    67        runone ${tname}-node2${variant}.${ext} ${max_run_time} | \
     71       runone ${tname}-node2${variant}${ext} \
     72         ${max_run_time} ${TREE_FILE}_2 | \
    6873         sed -e 's/^M//' -e '/^$/d' > ${logfile2} &
    6974       wait
    7075
     76       #rm -f ${TREE_FILE}_1 ${TREE_FILE}_2
    7177   fi
    7278
     
    8389     # Spin off the simulator in the background
    8490     #   -c could be used to set an instruction limit
     91     gen_device_tree ${tfile}  >${TREE_FILE}
    8592     runone ${tfile} ${max_run_time} | \
    8693       sed -e 's/^M//' -e '/^$/d' > ${logfile}
     94
     95     rm -f ${TREE_FILE}
    8796   fi
    8897
  • c/src/lib/libbsp/powerpc/psim/tools/runtest-top.in

    r7eb312d5 re0487ed  
    1818# progname=`basename $0`
    1919progname=${0##*/}        # fast basename hack for ksh, bash
    20 RUN=@target_alias@-run
     20if [ X${RUN} = X ] ; then
     21  RUN=@target_alias@-run
     22fi
    2123
    2224USAGE=\
Note: See TracChangeset for help on using the changeset viewer.