diff options
Diffstat (limited to 'gas/testsuite/gas/mips/mips.exp')
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index f14c6ffea4..842cfbf2e2 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -271,7 +271,12 @@ proc mips_arch_list_matching {args} { # Invoke "run_dump_test" for test NAME, with extra assembler and # disassembler flags to test architecture ARCH. proc run_dump_test_arch { name arch } { - global subdir + global subdir srcdir + + set archname "${arch}@${name}" + if { [file exists "$srcdir/$subdir/${archname}.d"] } { + set name $archname + } if [catch {run_dump_test $name \ "{name {([mips_arch_displayname $arch])}} |