From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:00:40
|
Commit-ID: e6a3c72c79fdc71c159e6b0ecb8ed70b084541af Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=e6a3c72c79fdc71c159e6b0ecb8ed70b084541af Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 01:11:46 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:45 +0300 test: nasm-t -- Add prefix66 test Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/prefix66.asm | 2 -- travis/test/prefix66.bin.t | 1 + travis/test/prefix66.json | 12 ++++++++++++ travis/test/prefix66.stderr | 6 ++++++ 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/test/prefix66.asm b/travis/test/prefix66.asm similarity index 76% copy from test/prefix66.asm copy to travis/test/prefix66.asm index 4d9eb00..acd63bf 100644 --- a/test/prefix66.asm +++ b/travis/test/prefix66.asm @@ -1,5 +1,3 @@ -;Testname=test; Arguments=-fbin -oprefix66.bin; Files=stdout stderr prefix66.bin - BITS 16 cmp ax, 1 o16 cmp ax, 1 diff --git a/travis/test/prefix66.bin.t b/travis/test/prefix66.bin.t new file mode 100644 index 0000000..2f40dc0 --- /dev/null +++ b/travis/test/prefix66.bin.t @@ -0,0 +1 @@ +fffffffff \ No newline at end of file diff --git a/travis/test/prefix66.json b/travis/test/prefix66.json new file mode 100644 index 0000000..fd100e3 --- /dev/null +++ b/travis/test/prefix66.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test for 0x66 prefixes", + "id": "prefix66", + "format": "bin", + "source": "prefix66.asm", + "target": [ + { "output": "prefix66.bin" }, + { "stderr": "prefix66.stderr" } + ] + } +] diff --git a/travis/test/prefix66.stderr b/travis/test/prefix66.stderr new file mode 100644 index 0000000..a8767e2 --- /dev/null +++ b/travis/test/prefix66.stderr @@ -0,0 +1,6 @@ +./travis/test/prefix66.asm:4: warning: invalid operand size prefix +./travis/test/prefix66.asm:7: warning: invalid operand size prefix +./travis/test/prefix66.asm:13: warning: invalid operand size prefix +./travis/test/prefix66.asm:16: warning: invalid operand size prefix +./travis/test/prefix66.asm:22: warning: invalid operand size prefix +./travis/test/prefix66.asm:25: warning: invalid operand size prefix \ No newline at end of file |