aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorRichard Earnshaw <richard.earnshaw@arm.com>2003-05-23 11:03:35 +0000
committerRichard Earnshaw <richard.earnshaw@arm.com>2003-05-23 11:03:35 +0000
commit39c1d492f8db83eea519036616cb4d7cdb738a16 (patch)
tree8443b32f532e71e9cacb563a44fead6e9b478b09 /gas/testsuite
parent0b4ffb6c40e1dc5a349478fb76d42da99ad94f84 (diff)
downloadgdb-39c1d492f8db83eea519036616cb4d7cdb738a16.zip
gdb-39c1d492f8db83eea519036616cb4d7cdb738a16.tar.gz
gdb-39c1d492f8db83eea519036616cb4d7cdb738a16.tar.bz2
* gas/i860/i860.exp: Don't call exit if the target isn't an i860.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/i860/i860.exp17
2 files changed, 11 insertions, 10 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 2430357..b754101 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2003-05-23 Richard Earnshaw <rearnsha@arm.com>
+
+ * gas/i860/i860.exp: Don't call exit if the target isn't an i860.
+
2003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* gas/mips/jal-newabi.s: New file, testcase for NewABI xgot jal macro.
diff --git a/gas/testsuite/gas/i860/i860.exp b/gas/testsuite/gas/i860/i860.exp
index 5865338..7dce933 100644
--- a/gas/testsuite/gas/i860/i860.exp
+++ b/gas/testsuite/gas/i860/i860.exp
@@ -1,12 +1,9 @@
# i860 assembler testsuite.
-if ![istarget i860-*-*] {
- exit
-}
-
-foreach file [lsort [glob -nocomplain -- $srcdir/$subdir/*.s]] {
- set file [file tail $file]
- set file [file rootname $file]
- run_dump_test "$file"
-}
-
+if [istarget i860-*-*] {
+ foreach file [lsort [glob -nocomplain -- $srcdir/$subdir/*.s]] {
+ set file [file tail $file]
+ set file [file rootname $file]
+ run_dump_test "$file"
+ }
+} \ No newline at end of file