* gas/all/cond.s, gas/all/cond.d: New test.
authorIan Lance Taylor <ian@airs.com>
Tue, 25 Feb 1997 18:47:08 +0000 (18:47 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 25 Feb 1997 18:47:08 +0000 (18:47 +0000)
* gas/all/gas.exp: Run it.

gas/testsuite/ChangeLog
gas/testsuite/gas/all/.Sanitize
gas/testsuite/gas/all/cond.d [new file with mode: 0644]
gas/testsuite/gas/all/cond.s [new file with mode: 0644]

index 0723d0a..0093650 100644 (file)
@@ -1,3 +1,13 @@
+Tue Feb 25 13:45:55 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * gas/all/cond.s, gas/all/cond.d: New test.
+       * gas/all/gas.exp: Run it.
+
+Mon Feb 24 10:52:12 1997  Bob Manson  <manson@charmed.cygnus.com>
+
+       * lib/gas-defs.exp(gas_init): Added new parameter for script
+       name.
+
 start-sanitize-tic80
 Mon Feb 24 10:40:28 1997  Fred Fish  <fnf@cygnus.com>
 
index 57d6c24..b86be90 100644 (file)
@@ -31,6 +31,8 @@ align.s
 gas.exp
 cofftag.d
 cofftag.s
+cond.d
+cond.s
 comment.s
 diff1.s
 float.s
diff --git a/gas/testsuite/gas/all/cond.d b/gas/testsuite/gas/all/cond.d
new file mode 100644 (file)
index 0000000..b7f11c2
--- /dev/null
@@ -0,0 +1,15 @@
+# This should match the output of gas -alc cond.s.
+
+.*cond.s.*
+
+
+   1[  ]+.if   0
+   8[  ]+.else
+   9[  ]+.if   1
+  10[  ]+.endc
+  11 0000 0[02]00 ?000[02][    ]+.long[        ]+2
+  12[  ]+.if   0
+  14[  ]+.else
+  15 0004 0[04]00 ?000[04][    ]+.long[        ]+4
+  16[  ]+.endc
+  17[  ]+.endc
diff --git a/gas/testsuite/gas/all/cond.s b/gas/testsuite/gas/all/cond.s
new file mode 100644 (file)
index 0000000..f457e2e
--- /dev/null
@@ -0,0 +1,17 @@
+       .if     0
+       .if     1
+       .endc
+       .long   0
+       .if     0
+       .long   1
+       .endc
+       .else
+       .if     1
+       .endc
+       .long   2
+       .if     0
+       .long   3
+       .else
+       .long   4
+       .endc
+       .endc