summaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-12-15 12:11:38 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-12-15 12:31:56 +0300
commit405556ff69d51085bb79f44e5749246669c79074 (patch)
tree76b62d8739431bc8032d685493ca0708cd7877a2 /travis
parentdfb164b73c3cd572f495a1ac88b001e5512dada8 (diff)
downloadnasm-405556ff69d51085bb79f44e5749246669c79074.tar.gz
test: nasm-t -- Update floatb test
We start reporting overflow in float-points which we previously missed. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis')
-rw-r--r--travis/test/floatb.json3
-rw-r--r--travis/test/floatb.stderr6
2 files changed, 8 insertions, 1 deletions
diff --git a/travis/test/floatb.json b/travis/test/floatb.json
index 18ba8b6f..50653152 100644
--- a/travis/test/floatb.json
+++ b/travis/test/floatb.json
@@ -6,7 +6,8 @@
"source": "floatb.asm",
"option": "-Ox",
"target": [
- { "output": "floatb.bin" }
+ { "output": "floatb.bin" },
+ { "stderr": "floatb.stderr" }
]
}
]
diff --git a/travis/test/floatb.stderr b/travis/test/floatb.stderr
new file mode 100644
index 00000000..1c52aa05
--- /dev/null
+++ b/travis/test/floatb.stderr
@@ -0,0 +1,6 @@
+./travis/test/floatb.asm:51: warning: overflow in floating-point constant [-w+float-overflow]
+./travis/test/floatb.asm:52: warning: overflow in floating-point constant [-w+float-overflow]
+./travis/test/floatb.asm:53: warning: overflow in floating-point constant [-w+float-overflow]
+./travis/test/floatb.asm:54: warning: overflow in floating-point constant [-w+float-overflow]
+./travis/test/floatb.asm:55: warning: overflow in floating-point constant [-w+float-overflow]
+./travis/test/floatb.asm:56: warning: overflow in floating-point constant [-w+float-overflow] \ No newline at end of file