From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:00:46
|
Commit-ID: 125e2e6b3fa3918460fab01331e61f5a1c0ed667 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=125e2e6b3fa3918460fab01331e61f5a1c0ed667 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 01:18:23 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:45 +0300 test: nasm-t -- Add radix test Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/radix.asm | 6 ++---- travis/test/radix.bin.t | Bin 0 -> 127 bytes travis/test/radix.json | 11 +++++++++++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/test/radix.asm b/travis/test/radix.asm similarity index 93% copy from test/radix.asm copy to travis/test/radix.asm index 1c56457..bf48c23 100644 --- a/test/radix.asm +++ b/travis/test/radix.asm @@ -1,5 +1,3 @@ -;Testname=test; Arguments=-fbin -oradix.bin; Files=stdout stderr radix.bin - ;; Integer constants... dd 1010_0101 ; Decimal @@ -36,7 +34,7 @@ db 0hb ; Hex db 0xd ; Hex db 0xb ; Hex - + ;; Floating-point constants ;; All of these should output B4A21147 dd 3.7282705e+4 ; Decimal @@ -46,7 +44,7 @@ dd 0x1.23456789p+15 ; Hex dd 0h1.23456789p+15 ; Hex - + dd 0o1.10642547422p+15 ; Octal dd 0q1.10642547422p+15 ; Octal diff --git a/travis/test/radix.bin.t b/travis/test/radix.bin.t new file mode 100644 index 0000000..9056a46 Binary files /dev/null and b/travis/test/radix.bin.t differ diff --git a/travis/test/radix.json b/travis/test/radix.json new file mode 100644 index 0000000..e09a7d1 --- /dev/null +++ b/travis/test/radix.json @@ -0,0 +1,11 @@ +[ + { + "description": "Test radixes", + "id": "radix", + "format": "bin", + "source": "radix.asm", + "target": [ + { "output": "radix.bin" } + ] + } +] |