From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:00:44
|
Commit-ID: df9df3b662a2e957eea37b6bed653efdddf1248b Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=df9df3b662a2e957eea37b6bed653efdddf1248b Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 11:50:16 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:45 +0300 test: nasm-t -- Add aouttest Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/aouttest-o0.o.t | Bin 0 -> 500 bytes travis/test/aouttest-ox.o.t | Bin 0 -> 500 bytes {test => travis/test}/aouttest.asm | 3 --- travis/test/aouttest.json | 20 ++++++++++++++++++++ 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/travis/test/aouttest-o0.o.t b/travis/test/aouttest-o0.o.t new file mode 100644 index 0000000..49132e0 Binary files /dev/null and b/travis/test/aouttest-o0.o.t differ diff --git a/travis/test/aouttest-ox.o.t b/travis/test/aouttest-ox.o.t new file mode 100644 index 0000000..9b282a0 Binary files /dev/null and b/travis/test/aouttest-ox.o.t differ diff --git a/test/aouttest.asm b/travis/test/aouttest.asm similarity index 92% copy from test/aouttest.asm copy to travis/test/aouttest.asm index 10d0e10..a11824f 100644 --- a/test/aouttest.asm +++ b/travis/test/aouttest.asm @@ -1,6 +1,3 @@ -;Testname=unoptimized; Arguments=-O0 -faout -oaouttest.o; Files=stdout stderr aouttest.o -;Testname=optimized; Arguments=-Ox -faout -oaouttest.o; Files=stdout stderr aouttest.o - ; test source file for assembling to a.out ; build with: ; nasm -f aout aouttest.asm diff --git a/travis/test/aouttest.json b/travis/test/aouttest.json new file mode 100644 index 0000000..1de51e2 --- /dev/null +++ b/travis/test/aouttest.json @@ -0,0 +1,20 @@ +[ + { + "description": "Test aout format (-Ox)", + "id": "aouttest", + "format": "aout", + "source": "aouttest.asm", + "option": "-Ox", + "target": [ + { "output": "aouttest-ox.o" } + ] + }, + { + "description": "Test aout format (-O0)", + "ref": "aouttest", + "option": "-O0", + "target": [ + { "output": "aouttest-o0.o" } + ] + } +] |