From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:00:48
|
Commit-ID: cd22ea42c3d48767bd4ed3268c55219e68f9c98b Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=cd22ea42c3d48767bd4ed3268c55219e68f9c98b Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 18:39:22 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:45 +0300 test: nasm-t -- Add floatize test Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- {test => travis/test}/floatize.asm | 3 --- travis/test/floatize.bin.t | Bin 0 -> 40 bytes travis/test/floatize.json | 17 +++++++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/test/floatize.asm b/travis/test/floatize.asm similarity index 63% copy from test/floatize.asm copy to travis/test/floatize.asm index cc0bbe9..0ff43ef 100644 --- a/test/floatize.asm +++ b/travis/test/floatize.asm @@ -1,6 +1,3 @@ -;Testname=unoptimized; Arguments=-O0 -fbin -ofloatize.bin; Files=stdout stderr floatize.bin -;Testname=optimized; Arguments=-Ox -fbin -ofloatize.bin; Files=stdout stderr floatize.bin - %assign x13 13+26 %assign f16 __float16__(1.6e-7) %assign f32 __float32__(1.6e-7) diff --git a/travis/test/floatize.bin.t b/travis/test/floatize.bin.t new file mode 100644 index 0000000..146fb73 Binary files /dev/null and b/travis/test/floatize.bin.t differ diff --git a/travis/test/floatize.json b/travis/test/floatize.json new file mode 100644 index 0000000..95f7d17 --- /dev/null +++ b/travis/test/floatize.json @@ -0,0 +1,17 @@ +[ + { + "description": "Test of floating-point (-Ox)", + "id": "floatize", + "format": "bin", + "source": "floatize.asm", + "option": "-Ox", + "target": [ + { "output": "floatize.bin" } + ] + }, + { + "description": "Test of floating-point (-O0)", + "ref": "floatize", + "option": "-O0" + } +] |