From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:00:44
|
Commit-ID: 41985ad93e2633d5653a2693ca13228347ac71b4 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=41985ad93e2633d5653a2693ca13228347ac71b4 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sat, 3 Nov 2018 22:00:28 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:45 +0300 test: nasm-t -- Add test67 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/test67.asm | 3 --- travis/test/test67.bin.t | Bin 0 -> 98 bytes travis/test/test67.json | 17 +++++++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/test/test67.asm b/travis/test/test67.asm similarity index 70% copy from test/test67.asm copy to travis/test/test67.asm index 7cf300d..5917a1b 100644 --- a/test/test67.asm +++ b/travis/test/test67.asm @@ -1,6 +1,3 @@ -;Testname=unoptimized; Arguments=-fbin -otest67.bin -O0; Files=stdout stderr test67.bin -;Testname=optimized; Arguments=-fbin -otest67.bin -Ox; Files=stdout stderr test67.bin - bits 16 mov ax,[bx] diff --git a/travis/test/test67.bin.t b/travis/test/test67.bin.t new file mode 100644 index 0000000..b3723e9 Binary files /dev/null and b/travis/test/test67.bin.t differ diff --git a/travis/test/test67.json b/travis/test/test67.json new file mode 100644 index 0000000..426e9d5 --- /dev/null +++ b/travis/test/test67.json @@ -0,0 +1,17 @@ +[ + { + "description": "Test for 0x67 prefixes (-Ox)", + "id": "test67", + "format": "bin", + "source": "test67.asm", + "option": "-Ox", + "target": [ + { "output": "test67.bin" } + ] + }, + { + "description": "Test for 0x67 prefixes (-O0)", + "ref": "test67", + "option": "-O0" + } +] |