diff options
author | Victor van den Elzen <victor.vde@gmail.com> | 2008-06-25 12:00:21 +0200 |
---|---|---|
committer | Victor van den Elzen <victor.vde@gmail.com> | 2008-07-16 12:20:26 +0200 |
commit | 1f1f38bcd03b4a1dfeeb167ec9b12406afff3463 (patch) | |
tree | 103e4f2383d7c48fb5c0582ec4935f3a1e467558 | |
parent | c7deefaa3a45408bc6967196ce2234c76460182a (diff) | |
download | nasm-1f1f38bcd03b4a1dfeeb167ec9b12406afff3463.tar.gz |
update tests
-rwxr-xr-x | test/_version.asm | 2 | ||||
-rw-r--r-- | test/imacro.asm | 2 | ||||
-rw-r--r-- | test/insnlbl.asm | 6 | ||||
-rw-r--r-- | test/utf.asm | 2 |
4 files changed, 9 insertions, 3 deletions
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) |