summaryrefslogtreecommitdiffstats
path: root/gas/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-07 01:45:07 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-07 01:45:07 +0000
commite840039ffc44e519efb492711b035d9934cd78ab (patch)
tree4cffe1b8c58eadefcccfbfac902b5117fd31390e /gas/testsuite
parent40db6118849d95d3781556b72c75ecbdb329e0f4 (diff)
downloadppe42-binutils-e840039ffc44e519efb492711b035d9934cd78ab.tar.gz
ppe42-binutils-e840039ffc44e519efb492711b035d9934cd78ab.zip
* gas/mri/comment.s, gas/mri/comment.d: New test.
* gas/mri/mri.exp: Run it. * gas/mri/expr.s: Remove whitespace in operand field. * gas/mri/for.s: Add comments for further testing. * gas/macros/test2.s: Put in an upper case ELSE to test case insensitivity.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog18
-rw-r--r--gas/testsuite/gas/mri/.Sanitize2
-rw-r--r--gas/testsuite/gas/mri/comment.d9
-rw-r--r--gas/testsuite/gas/mri/comment.s10
-rw-r--r--gas/testsuite/gas/mri/mri.exp9
5 files changed, 45 insertions, 3 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 2a889fc50d..21dfff646d 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,21 @@
+Wed Sep 6 21:39:23 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * gas/mri/comment.s, gas/mri/comment.d: New test.
+ * gas/mri/mri.exp: Run it.
+ * gas/mri/expr.s: Remove whitespace in operand field.
+ * gas/mri/for.s: Add comments for further testing.
+ * gas/macros/test2.s: Put in an upper case ELSE to test case
+ insensitivity.
+
+Wed Aug 30 16:12:03 1995 Doug Evans <dje@canuck.cygnus.com>
+
+ * gas/sparc/{prefetch.[ds],synth64.[ds]}: New tests.
+
+Tue Aug 29 18:59:33 1995 Doug Evans <dje@canuck.cygnus.com>
+
+ * gas/sparc/sparc.exp: New file.
+ * gas/sparc/{asi.[ds],membar.[ds]}: New tests.
+
Mon Aug 21 14:39:29 1995 Ian Lance Taylor <ian@cygnus.com>
* gas/macros/*: New tests for macros.
diff --git a/gas/testsuite/gas/mri/.Sanitize b/gas/testsuite/gas/mri/.Sanitize
index c22b178201..6f1f7143e5 100644
--- a/gas/testsuite/gas/mri/.Sanitize
+++ b/gas/testsuite/gas/mri/.Sanitize
@@ -26,6 +26,8 @@ Things-to-keep:
char.d
char.s
+comment.d
+comment.s
common.d
common.s
constants.d
diff --git a/gas/testsuite/gas/mri/comment.d b/gas/testsuite/gas/mri/comment.d
new file mode 100644
index 0000000000..30434dd2f8
--- /dev/null
+++ b/gas/testsuite/gas/mri/comment.d
@@ -0,0 +1,9 @@
+#nm: --extern-only
+#name: MRI comments
+#as: -M
+
+# Test MRI comments
+
+0+02 A RAM
+0+01 A ROM
+ * U label
diff --git a/gas/testsuite/gas/mri/comment.s b/gas/testsuite/gas/mri/comment.s
new file mode 100644
index 0000000000..aeecffa900
--- /dev/null
+++ b/gas/testsuite/gas/mri/comment.s
@@ -0,0 +1,10 @@
+ xref label
+ xdef ROM,RAM
+ * this is a comment
+
+ dc.l label loop if we haven't reach end yet
+
+ROM EQU $00000001 * word wide
+RAM EQU $00000002 word wide
+ dc.l RAM
+ dc.l 0 ,really,a,comment
diff --git a/gas/testsuite/gas/mri/mri.exp b/gas/testsuite/gas/mri/mri.exp
index 0e18a4123c..57d4a93a13 100644
--- a/gas/testsuite/gas/mri/mri.exp
+++ b/gas/testsuite/gas/mri/mri.exp
@@ -3,10 +3,10 @@
#
run_dump_test label
-setup_xfail "hppa*-*-*"
+setup_xfail "hppa*-*-osf*" "hppa*-*-hpux*" "hppa*-*-bsd*" "hppa-*-hiux*"
run_dump_test equ
-setup_xfail "hppa*-*-*"
+setup_xfail "hppa*-*-osf*" "hppa*-*-hpux*" "hppa*-*-bsd*" "hppa-*-hiux*"
setup_xfail "a29k*-*-*"
run_dump_test constants
@@ -14,7 +14,7 @@ run_dump_test float
run_dump_test char
-setup_xfail "hppa*-*-*"
+setup_xfail "hppa*-*-osf*" "hppa*-*-hpux*" "hppa*-*-bsd*" "hppa-*-hiux*"
run_dump_test expr
setup_xfail "alpha*-*-*"
@@ -23,6 +23,9 @@ setup_xfail "i960*-*-vxworks" "i960-*-vxworks4*" "i960*-*-vxworks5.0"
setup_xfail "i960-*-bout*" i960-*-nindy*"
run_dump_test common
+setup_xfail "hppa*-*-osf*" "hppa*-*-hpux*" "hppa*-*-bsd*" "hppa-*-hiux*"
+run_dump_test comment
+
# The remaining tests assume an m68k target
if [istarget "m68*-*-*"] {
run_dump_test for
OpenPOWER on IntegriCloud