aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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