[nasm:nasm-2.15.xx] travis: add br3392442
nasm-bot for Cyrill Gorcunov
gorcunov at gmail.com
Mon Sep 7 01:03:08 PDT 2020
Commit-ID: 61265ecd15836a2d1fe696a6befcbc9a77cb39a0
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=61265ecd15836a2d1fe696a6befcbc9a77cb39a0
Author: Cyrill Gorcunov <gorcunov at gmail.com>
AuthorDate: Mon, 7 Sep 2020 09:57:00 +0300
Committer: Cyrill Gorcunov <gorcunov at gmail.com>
CommitDate: Mon, 7 Sep 2020 09:57:00 +0300
travis: add br3392442
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
{test => travis/test}/br3392442.asm | 2 --
travis/test/br3392442.bin.t | Bin 0 -> 20 bytes
travis/test/br3392442.json | 13 +++++++++++++
travis/test/br3392442.stderr | 2 ++
4 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/test/br3392442.asm b/travis/test/br3392442.asm
similarity index 66%
copy from test/br3392442.asm
copy to travis/test/br3392442.asm
index e7a0511c..5b19f09e 100644
--- a/test/br3392442.asm
+++ b/travis/test/br3392442.asm
@@ -1,5 +1,3 @@
- ;; Bug report 3392442: invalid warning
-
and byte [0], ~80h
and byte [0], 0xfff
and byte [0], -256
diff --git a/travis/test/br3392442.bin.t b/travis/test/br3392442.bin.t
new file mode 100644
index 00000000..c5c9e785
Binary files /dev/null and b/travis/test/br3392442.bin.t differ
diff --git a/travis/test/br3392442.json b/travis/test/br3392442.json
new file mode 100644
index 00000000..c0fd5e12
--- /dev/null
+++ b/travis/test/br3392442.json
@@ -0,0 +1,13 @@
+[
+ {
+ "description": "Test br3392442",
+ "id": "br3392442",
+ "format": "bin",
+ "source": "br3392442.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "br3392442.bin" },
+ { "stderr": "br3392442.stderr" }
+ ]
+ }
+]
diff --git a/travis/test/br3392442.stderr b/travis/test/br3392442.stderr
new file mode 100644
index 00000000..cce8581a
--- /dev/null
+++ b/travis/test/br3392442.stderr
@@ -0,0 +1,2 @@
+./travis/test/br3392442.asm:2: warning: byte data exceeds bounds [-w+number-overflow]
+./travis/test/br3392442.asm:4: warning: byte data exceeds bounds [-w+number-overflow]
\ No newline at end of file
More information about the Nasm-commits
mailing list