From 1f1f38bcd03b4a1dfeeb167ec9b12406afff3463 Mon Sep 17 00:00:00 2001 From: Victor van den Elzen Date: Wed, 25 Jun 2008 12:00:21 +0200 Subject: [PATCH] update tests --- test/_version.asm | 2 ++ test/imacro.asm | 2 ++ test/insnlbl.asm | 6 +++--- test/utf.asm | 2 ++ 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100755 test/_version.asm diff --git a/test/_version.asm b/test/_version.asm new file mode 100755 index 00000000..fc2e178d --- /dev/null +++ b/test/_version.asm @@ -0,0 +1,2 @@ +;Testname=version; Arguments=-v; Files=.stdout .stderr +;Dummy test to record version numbers diff --git a/test/imacro.asm b/test/imacro.asm index 252a67de..0db9e628 100644 --- a/test/imacro.asm +++ b/test/imacro.asm @@ -1,3 +1,5 @@ +;Testname=test; Arguments=-fbin -oimacro.bin; Files=.stdout .stderr imacro.bin + %imacro Zero 1 xor %1,%1 %endmacro diff --git a/test/insnlbl.asm b/test/insnlbl.asm index df81f73b..648bb47f 100644 --- a/test/insnlbl.asm +++ b/test/insnlbl.asm @@ -5,8 +5,8 @@ ; they are followed by a colon. ; -do: jmp incbin+2 - dw do, add, sub, incbin +do: jmp dq+2 + dw do, add, sub, dq add: jmp add-2 sub: jmp do+2 -incbin: dw $-sub +dq: dw $-sub diff --git a/test/utf.asm b/test/utf.asm index 1c8a8f09..a12a9916 100644 --- a/test/utf.asm +++ b/test/utf.asm @@ -1,3 +1,5 @@ +;Testname=test; Arguments=-fbin -outf.bin; Files=.stdout .stderr utf.bin +;Testname=error; Arguments=-fbin -outf.bin -DERROR; Files=.stdout .stderr utf.bin %define u(x) __utf16__(x) %define w(x) __utf32__(x)