This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[z80] Add tests to gas testsuite
- From: Arnold Metselaar <arnold dot metselaar at planet dot nl>
- To: binutils at sourceware dot org
- Date: Sun, 14 Sep 2008 16:10:21 +0200
- Subject: [z80] Add tests to gas testsuite
I have committed the following to cover more z80 instructions in the
gas testsuite.
Regards,
Arnold
gas/testsuite/ChangeLog:
2008-09-14 Arnold Metselaar <arnold.metselaar@planet.nl>
* gas/z80/ld-group.s, gas/z80/ld-group.d: New test.
* gas/z80/block.s, gas/z80/block.d: New test
* gas/z80/arith.s, gas/z80/arith.d: New test
* gas/z80/rotate.s, gas/z80/rotate.d: New test
* gas/z80/bit.s, gas/z80/bit.d: New test
* gas/z80/branch.s, gas/z80/branch.d: New test
* gas/z80/inout.s, gas/z80/inout.d: New test
* gas/z80/misc.s, gas/z80/misc.d: New test
* gas/z80/z80.exp: Run them.
New files omitted for brevity
Index: z80.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/z80/z80.exp,v
retrieving revision 1.5
diff -u -r1.5 z80.exp
--- z80.exp 18 Jan 2006 15:00:22 -0000 1.5
+++ z80.exp 14 Sep 2008 13:52:35 -0000
@@ -9,4 +9,20 @@
run_dump_test "suffix"
# test assembling and disassembling instructions involving offsets
run_dump_test "offset"
+# test for data transfer instructions
+ run_dump_test "ld-group"
+# test for block instructions
+ run_dump_test "block"
+# test for arithmetic and logic
+ run_dump_test "arith"
+# test for rotate and shift
+ run_dump_test "rotate"
+# test for bit manipulations
+ run_dump_test "bit"
+# test for branch instructions
+ run_dump_test "branch"
+# test for input and output instructions
+ run_dump_test "inout"
+#test for other instructions
+ run_dump_test "misc"
}