From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:00:44
|
Commit-ID: 44952cab07339e8ec12454f9975ca16a840a343e Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=44952cab07339e8ec12454f9975ca16a840a343e Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 18:26:10 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:45 +0300 test: nasm-t -- Add float test Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/float.asm | 5 +---- travis/test/float.bin.t | Bin 0 -> 1148 bytes travis/test/float.json | 12 ++++++++++++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/test/float.asm b/travis/test/float.asm similarity index 94% copy from test/float.asm copy to travis/test/float.asm index 88519b2..c0978b5 100644 --- a/test/float.asm +++ b/travis/test/float.asm @@ -1,6 +1,3 @@ -;Testname=unoptimized; Arguments=-O0 -fbin -ofloat.bin; Files=stdout stderr float.bin -;Testname=optimized; Arguments=-Ox -fbin -ofloat.bin; Files=stdout stderr float.bin - ; ; Test of floating-point formats ; @@ -124,7 +121,7 @@ dq __QNaN__ dq __SNaN__ dq 3.1415926535_8979323846_2643383279_5028841971_6939937510_5 - + ; 80-bit dt 1.0 dt +1.0 diff --git a/travis/test/float.bin.t b/travis/test/float.bin.t new file mode 100644 index 0000000..3a688d6 Binary files /dev/null and b/travis/test/float.bin.t differ diff --git a/travis/test/float.json b/travis/test/float.json new file mode 100644 index 0000000..0bb8d45 --- /dev/null +++ b/travis/test/float.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test of floating-point formats", + "id": "float", + "format": "bin", + "source": "float.asm", + "option": "-Ox", + "target": [ + { "output": "float.bin" } + ] + } +] |