diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-06-12 15:00:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-06-12 15:00:15 +0000 |
commit | df49c60c9671e4a28e636964d744c1f59fb6cb68 (patch) | |
tree | eabd85e189514ad412a35414ba5d483dcda3ef1f /c/src/lib/libbsp/powerpc/psim/tools/runtest | |
parent | Purged as many egcs references as possible. (diff) | |
download | rtems-df49c60c9671e4a28e636964d744c1f59fb6cb68.tar.bz2 |
Merged from 4.5.0-beta3a
Diffstat (limited to '')
-rwxr-xr-x | c/src/lib/libbsp/powerpc/psim/tools/runtest | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/tools/runtest b/c/src/lib/libbsp/powerpc/psim/tools/runtest index 5b53f9080e..8fa385e239 100755 --- a/c/src/lib/libbsp/powerpc/psim/tools/runtest +++ b/c/src/lib/libbsp/powerpc/psim/tools/runtest @@ -164,10 +164,11 @@ do continue;; *-node1*) warn "Running both nodes associated with $tname" + variant=`echo $tname | sed 's/.*-node[12]//' | sed 's/\.exe//'` tname=`echo $tname | sed 's/-node.*//'` TEST_TYPE="mp" ;; - minimum*|stackchk*|spfatal*|malloctest*) + minimum*|stackchk*|spfatal*|termio*) continue ;; esac @@ -176,8 +177,8 @@ do then cpus="1 2" - logfile1=$logdir/${tname}_1 - logfile2=$logdir/${tname}_2 + logfile1=$logdir/${tname}_1${variant} + logfile2=$logdir/${tname}_2${variant} infofile1=$logfile1.info infofile2=$logfile2.info @@ -193,7 +194,7 @@ do -o "/shm@0xc0000000/key 0x1234" \ -o "/sem@0xc0010000/reg 0xc0010000 12" \ -o "/sem@0xc0010000/key 0x1234" \ - -o "/sem@0xc0010000/value 1" ${tname}-node1.exe | \ + -o "/sem@0xc0010000/value 1" ${tname}-node1${variant}.exe | \ sed -e 's/
//' -e '/^$/d' > ${logfile1} & ${simulator} $extra_options -c ${instruction_limit} \ @@ -203,7 +204,7 @@ do -o "/shm@0xc0000000/key 0x1234" \ -o "/sem@0xc0010000/reg 0xc0010000 12" \ -o "/sem@0xc0010000/key 0x1234" \ - -o "/sem@0xc0010000/value -1" ${tname}-node2.exe | \ + -o "/sem@0xc0010000/value -1" ${tname}-node2${variant}.exe | \ sed -e 's/
//' -e '/^$/d' > ${logfile2} & wait |