diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2000-09-29 18:39:31 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2000-09-29 18:39:31 +0000 |
commit | 37260204fdd7edf01ee20738c3845ea776b670e3 (patch) | |
tree | b87d9716c3cc8897ac54f8fe66f0679651e99dc9 /gas/testsuite/gas/cris/cris.exp | |
parent | b4db717d6720f704c5174001f45fc909021339ec (diff) | |
download | binutils-gdb-37260204fdd7edf01ee20738c3845ea776b670e3.tar.gz |
* gas/cris/regprefix-err-1.s, gas/cris/rd-regprefix-1.s,
gas/cris/rd-regprefix-1.d, gas/cris/rd-regprefix-1b.d,
gas/cris/us-err-1.s, gas/cris/us-err-2.s, gas/cris/us-err-3.s: New.
* gas/cris/cris.exp: Loop run_dump_test over files matching rd-*.d.
Diffstat (limited to 'gas/testsuite/gas/cris/cris.exp')
-rw-r--r-- | gas/testsuite/gas/cris/cris.exp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/testsuite/gas/cris/cris.exp b/gas/testsuite/gas/cris/cris.exp index 4ce70dee629..46190f3dd3f 100644 --- a/gas/testsuite/gas/cris/cris.exp +++ b/gas/testsuite/gas/cris/cris.exp @@ -326,6 +326,17 @@ if [istarget cris-*-*] then { #untested "disassembling special regs" #untested "disassembling unimplemented special regs" + # *PLEASE* make new "simple" run_dump_test-tests match "rd-*.d", so + # they will be picked up automatically through this construct. This + # so you don't need to change cris.exp. (As perhaps should have been + # originally done for cases below, but which is not worth fixing now.) + set rd_test_list [lsort [glob -nocomplain $srcdir/$subdir/rd-*.d]] + for { set i 0 } { $i < [llength $rd_test_list] } { incr i } { + # We need to strip the ".d", but can leave the dirname. + verbose [file rootname [lindex $rd_test_list $i]] + run_dump_test [file rootname [lindex $rd_test_list $i]] + } + # Broken word handling got erroneously triggers for this and # got out-of-bounds errors. # FIXME: Check closer that this gets the expected results and fix |