From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:00:38
|
Commit-ID: 149231f6650594a905189902dbc43da6b656aa08 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=149231f6650594a905189902dbc43da6b656aa08 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sat, 3 Nov 2018 17:58:12 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:45 +0300 test: nasm-t -- Add zerobyte test Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/zerobyte.asm | 1 - travis/test/zerobyte.bin.t | Bin 0 -> 54 bytes travis/test/zerobyte.json | 11 +++++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/test/zerobyte.asm b/travis/test/zerobyte.asm similarity index 68% copy from test/zerobyte.asm copy to travis/test/zerobyte.asm index c3a0441..ef7b1a1 100644 --- a/test/zerobyte.asm +++ b/travis/test/zerobyte.asm @@ -1,4 +1,3 @@ -;Testname=test; Arguments=-fbin -ozerobyte.bin; Files=stdout stderr zerobyte.bin bits 64 mov eax,bar-foo diff --git a/travis/test/zerobyte.bin.t b/travis/test/zerobyte.bin.t new file mode 100644 index 0000000..9a85eea Binary files /dev/null and b/travis/test/zerobyte.bin.t differ diff --git a/travis/test/zerobyte.json b/travis/test/zerobyte.json new file mode 100644 index 0000000..fda829d --- /dev/null +++ b/travis/test/zerobyte.json @@ -0,0 +1,11 @@ +[ + { + "description": "Test for accidental duplication of REX prefixes", + "id": "zerobyte", + "format": "bin", + "source": "zerobyte.asm", + "target": [ + { "output": "zerobyte.bin" } + ] + } +] |