diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2001-07-30 13:59:00 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2001-07-30 13:59:00 +0000 |
commit | 0c4ec1515b7f1d78788e70fe8e2b36b4c76f9c09 (patch) | |
tree | 005ace83c8fbf1c08d706a38b1b67c00894c589e /gas | |
parent | 1f554c6920812b497a03fc8f7b15baf1d9edff29 (diff) | |
download | gdb-0c4ec1515b7f1d78788e70fe8e2b36b4c76f9c09.zip gdb-0c4ec1515b7f1d78788e70fe8e2b36b4c76f9c09.tar.gz gdb-0c4ec1515b7f1d78788e70fe8e2b36b4c76f9c09.tar.bz2 |
* gas/mips/mips.exp (el): New variable.
Use it to pick ELF reloc tests.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 51 |
2 files changed, 17 insertions, 39 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e0a1e6f..1df3aab 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-07-31 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/mips.exp (el): New variable. + Use it to pick ELF reloc tests. + 2001-07-26 Chris Demetriou <cgd@broadcom.com> * gas/mips/lif-empic.d: Add back dollar signs before floating diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index 84389d2..d693dfe 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -29,6 +29,11 @@ if { [istarget mips*-*-*] } then { } else { set tmips "" } + if [istarget mips*el-*-*] { + set el el + } { + set el "" + } run_dump_test "abs" run_dump_test "add" @@ -130,51 +135,19 @@ if { [istarget mips*-*-*] } then { run_dump_test "elf_e_flags2" run_dump_test "elf_e_flags3" run_dump_test "elf_e_flags4" - - if [istarget mips*el-*-*] { - run_dump_test "elfel-rel" - } { - run_dump_test "elf-rel" - } + run_dump_test "elf${el}-rel" if [istarget mips64*-*-*] { - if [istarget mips*el-*-*] { - run_dump_test "elfel-rel2" - } { - run_dump_test "elf-rel2" - } - } { - if [istarget mips*el-*-*] { - run_dump_test "e32el-rel2" - } { - run_dump_test "e32-rel2" - } - } - - if [istarget mips*el-*-*] { - run_dump_test "elfel-rel3" + run_dump_test "elf${el}-rel2" } { - run_dump_test "elf-rel3" + run_dump_test "e32${el}-rel2" } - - if [istarget mips*el-*-*] { - run_dump_test "${tmips}elempic" - } { - run_dump_test "${tmips}empic" - } - + run_dump_test "elf${el}-rel3" + run_dump_test "${tmips}${el}empic" if { !$no_mips16 } { - if [istarget mips*el-*-*] { - run_dump_test "${tmips}mipsel16-e" - } { - run_dump_test "${tmips}mips16-e" - } + run_dump_test "${tmips}mips${el}16-e" setup_xfail "mips*-*-*" - if [istarget mips*el-*-*] { - run_dump_test "mipsel16-f" - } { - run_dump_test "mips16-f" - } + run_dump_test "mips${el}16-f" } } } |