diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2020-07-22 12:46:00 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2020-07-22 12:46:00 +0100 |
commit | b83d958fc7050bf990d7c24596b9dcdc130433a7 (patch) | |
tree | 16e828dc87a68ec82d8532363fc74709c3b56fac | |
parent | 028a46039a22842e41030a94848d086d5db05617 (diff) | |
download | gdb-b83d958fc7050bf990d7c24596b9dcdc130433a7.zip gdb-b83d958fc7050bf990d7c24596b9dcdc130433a7.tar.gz gdb-b83d958fc7050bf990d7c24596b9dcdc130433a7.tar.bz2 |
MIPS/GAS/testsuite: Use a helper variable for IRIX/non-IRIX test selection
Define a helper variable for IRIX/non-IRIX test selection and use it
with the PR 14798 test case.
gas/
* testsuite/gas/mips/mips.exp: Use a helper variable for
IRIX/non-IRIX test selection.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 4ac6ea2..529f9b1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2020-07-22 Maciej W. Rozycki <macro@linux-mips.org> + + * testsuite/gas/mips/mips.exp: Use a helper variable for + IRIX/non-IRIX test selection. + 2020-07-21 Jan Beulich <jbeulich@suse.com> * testsuite/gas/i386/evex-no-scale-64.d, diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index 51d0d1f..e8ff73c 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -575,6 +575,7 @@ if { [istarget mips*-*-vxworks*] } { } { set el "" } + set imips [expr [istarget *-*-irix*] ? {"-irix"} : {""}] run_dump_test_arches "dot-1" [mips_arch_list_matching mips1] run_dump_test_arches "abs" [mips_arch_list_matching mips1] @@ -2088,10 +2089,6 @@ if { [istarget mips*-*-vxworks*] } { run_dump_test_arches "llpscp-32" [mips_arch_list_matching mips32r6] run_dump_test_arch "llpscp-64" "" mips64r6 - if [istarget *-*-irix*] { - run_dump_test "pr14798-irix" - } else { - run_dump_test "pr14798" - } + run_dump_test "pr14798${imips}" run_dump_test "insn-isa-mode" } |