From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:00:49
|
Commit-ID: 692ec9f8d220fb412778db5a2c5bc3bf43b8673a Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=692ec9f8d220fb412778db5a2c5bc3bf43b8673a Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 11:24:27 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:45 +0300 test: nasm-t -- Add aoutso test Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/aoutso-o0.o.t | Bin 0 -> 669 bytes travis/test/aoutso-ox.o.t | Bin 0 -> 665 bytes {test => travis/test}/aoutso.asm | 3 --- travis/test/aoutso.json | 22 ++++++++++++++++++++++ travis/test/aoutso.stderr | 1 + 5 files changed, 23 insertions(+), 3 deletions(-) diff --git a/travis/test/aoutso-o0.o.t b/travis/test/aoutso-o0.o.t new file mode 100644 index 0000000..370c362 Binary files /dev/null and b/travis/test/aoutso-o0.o.t differ diff --git a/travis/test/aoutso-ox.o.t b/travis/test/aoutso-ox.o.t new file mode 100644 index 0000000..6d899e4 Binary files /dev/null and b/travis/test/aoutso-ox.o.t differ diff --git a/test/aoutso.asm b/travis/test/aoutso.asm similarity index 93% copy from test/aoutso.asm copy to travis/test/aoutso.asm index aab35a5..b95b66e 100644 --- a/test/aoutso.asm +++ b/travis/test/aoutso.asm @@ -1,6 +1,3 @@ -;Testname=unoptimized; Arguments=-O0 -faoutb -oaoutso.o; Files=stdout stderr aoutso.o -;Testname=optimized; Arguments=-Ox -faoutb -oaoutso.o; Files=stdout stderr aoutso.o - ; test source file for assembling to NetBSD/FreeBSD a.out shared library ; build with: ; nasm -f aoutb aoutso.asm diff --git a/travis/test/aoutso.json b/travis/test/aoutso.json new file mode 100644 index 0000000..0f7b328 --- /dev/null +++ b/travis/test/aoutso.json @@ -0,0 +1,22 @@ +[ + { + "description": "Test NetBSD/FreeBSD a.out format (-Ox)", + "id": "aoutb", + "format": "aoutb", + "source": "aoutso.asm", + "option": "-Ox", + "target": [ + { "output": "aoutso-ox.o" }, + { "stderr": "aoutso.stderr" } + ] + }, + { + "description": "Test NetBSD/FreeBSD a.out format (-O0)", + "ref": "aoutb", + "option": "-O0", + "target": [ + { "output": "aoutso-o0.o" }, + { "stderr": "aoutso.stderr" } + ] + } +] diff --git a/travis/test/aoutso.stderr b/travis/test/aoutso.stderr new file mode 100644 index 0000000..5b135f2 --- /dev/null +++ b/travis/test/aoutso.stderr @@ -0,0 +1 @@ +./travis/test/aoutso.asm:79: warning: label alone on a line without a colon might be in error [-w+orphan-labels] \ No newline at end of file |