aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-04-04 08:23:30 +0000
committerNick Clifton <nickc@redhat.com>2002-04-04 08:23:30 +0000
commitf22ba854c71b449a6010911d8b7decf66ca1f0a7 (patch)
tree0ce1514ddcddc669c8335cbe377fae62653b7350 /gas
parent874e898605e4af12e9f0f33e76eb71611afc8892 (diff)
downloadgdb-f22ba854c71b449a6010911d8b7decf66ca1f0a7.zip
gdb-f22ba854c71b449a6010911d8b7decf66ca1f0a7.tar.gz
gdb-f22ba854c71b449a6010911d8b7decf66ca1f0a7.tar.bz2
Open out one-line if-then-else test clauses so that other clauses can be
inserted in the future.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/mips/mips.exp28
2 files changed, 24 insertions, 10 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 4208af8..5ad9bad 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2002-04-04 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * gas/mips/mips.exp: Remove spurious whaitespace.
+ Open out one-line if-then-else test clauses so that other clauses
+ can be inserted in the future.
+
2002-03-19 Bo Thorsen <bo@suse.de>
* gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes.
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp
index c57341f..9cd97cb 100644
--- a/gas/testsuite/gas/mips/mips.exp
+++ b/gas/testsuite/gas/mips/mips.exp
@@ -57,7 +57,11 @@ if { [istarget mips*-*-*] } then {
run_dump_test "blt"
run_dump_test "bltu"
- if !$ilocks { run_dump_test "div" } else { run_dump_test "div-ilocks" }
+ if $ilocks {
+ run_dump_test "div-ilocks"
+ } else {
+ run_dump_test "div"
+ }
run_dump_test "dli"
if $elf {
run_dump_test "elf-jal"
@@ -89,9 +93,9 @@ if { [istarget mips*-*-*] } then {
run_dump_test "lb-xgot-ilocks"
}
if $ecoff { run_dump_test "lb-empic" }
- if !$aout {
- if !$gpr_ilocks {
- run_dump_test "ld"
+ if !$aout {
+ if !$gpr_ilocks {
+ run_dump_test "ld"
} else {
if !$addr32 {
run_dump_test "ld-ilocks"
@@ -112,7 +116,11 @@ if { [istarget mips*-*-*] } then {
# 2000-03-12 00:00 UTC.
if $ecoff { run_dump_test "lif-empic" }
run_dump_test "mips4"
- if !$ilocks { run_dump_test "mul" } else { run_dump_test "mul-ilocks" }
+ if $ilocks {
+ run_dump_test "mul-ilocks"
+ } else {
+ run_dump_test "mul"
+ }
run_dump_test "rol"
if !$aout { run_dump_test "sb" }
run_dump_test "trunc"
@@ -164,13 +172,13 @@ if { [istarget mips*-*-*] } then {
# containing 4650-specific instructions with -m4650 and -mcpu=4650,
# and verify that they're the same. Specifically, we're checking
# that the EF_MIPS_MACH field is set, and that the 4650 'mul'
- # instruction does get used. In previous versions of GAS,
+ # instruction does get used. In previous versions of GAS,
# only -mcpu=4650 would set the EF_MIPS_MACH field; -m4650 wouldn't.
run_dump_test "elf_e_flags1"
run_dump_test "elf_e_flags2"
run_dump_test "elf_e_flags3"
run_dump_test "elf_e_flags4"
-
+
run_dump_test "mips-gp32-fp32-pic"
run_dump_test "mips-gp32-fp64-pic"
run_dump_test "mips-gp64-fp32-pic"
@@ -197,9 +205,9 @@ if { [istarget mips*-*-*] } then {
run_dump_test "empic3_e"
run_dump_test "empic3_g1"
run_dump_test "empic3_g2"
- if { !$no_mips16 } {
- run_dump_test "${tmips}mips${el}16-e"
- run_dump_test "${tmips}mips${el}16-f"
+ if { !$no_mips16 } {
+ run_dump_test "${tmips}mips${el}16-e"
+ run_dump_test "${tmips}mips${el}16-f"
}
}
}