diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2010-07-05 23:57:27 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2010-07-05 23:57:27 +0000 |
commit | 193fa6328710bfb9d275c0e18f1f2a4e90921338 (patch) | |
tree | 059657bf91f60a47538f0a3841ef00b62023f2dd /gas | |
parent | ad500c2e0c50ad23dd80acd0ded64d937e94bed8 (diff) | |
download | gdb-193fa6328710bfb9d275c0e18f1f2a4e90921338.zip gdb-193fa6328710bfb9d275c0e18f1f2a4e90921338.tar.gz gdb-193fa6328710bfb9d275c0e18f1f2a4e90921338.tar.bz2 |
* gas/mips/mips.exp (run_dump_test_arch): Check for the presence
of an architecture-specific test first and use it if found,
before falling back to the generic one.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 7 |
2 files changed, 12 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 09d1c165..046e106 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2010-07-05 Maciej W. Rozycki <macro@codesourcery.com> + * gas/mips/mips.exp (run_dump_test_arch): Check for the presence + of an architecture-specific test first and use it if found, + before falling back to the generic one. + +2010-07-05 Maciej W. Rozycki <macro@codesourcery.com> + * gas/mips/mips4-fp.d, gas/mips/mips4-fp.s: Remove checks for branch-likely instructions and place them... * gas/mips/mips4-branch-likely.d, gas/mips/mips4-branch-likely.s: diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index f14c6ff..842cfbf 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])}} |