From 5544ad5c06bee5f562dddd055c571818bc0d0119 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Mon, 29 Jul 2019 22:07:00 +1200 Subject: Add test for asm-disasm-asm, fix bug with labels This adds a support script for future expansion of an asm->disasm->asm series of tests, which will at minimum ensure some parity between the assembler and disassembler. Lower level tests to ensure correct behaviour rather than just symmetrical behaviour belong in another set of tests. This patch also fixes the assembler's behaviour around numeric labels. Many other assemblers support entirely numeric labels, and the output of the disassembler includes them. The assembler has been adjusted to lex a probably-numeric as a label if it is at the start of the line. Otherwise, old label behavour and old numeric behaviour is left in place. --- test/Makefile | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test/Makefile (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 0000000..c2407c7 --- /dev/null +++ b/test/Makefile @@ -0,0 +1,2 @@ +test: + ./full-pipeline/run-full-pipeline.sh -- cgit v1.1