[nasm:master] travis: add ilog
nasm-bot for Cyrill Gorcunov
gorcunov at gmail.com
Thu Oct 15 13:09:10 PDT 2020
Commit-ID: 8ff5cecc2989aedadf439481254fc22d80133726
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=8ff5cecc2989aedadf439481254fc22d80133726
Author: Cyrill Gorcunov <gorcunov at gmail.com>
AuthorDate: Thu, 15 Oct 2020 22:01:21 +0300
Committer: Cyrill Gorcunov <gorcunov at gmail.com>
CommitDate: Thu, 15 Oct 2020 22:01:21 +0300
travis: add ilog
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
travis/test/ilog-error.stderr | 25 +++++++++++++++++++++++++
test/ilog2.asm => travis/test/ilog.asm | 0
travis/test/ilog.bin.t | Bin 0 -> 226 bytes
travis/test/ilog.json | 22 ++++++++++++++++++++++
travis/test/ilog.stderr | 25 +++++++++++++++++++++++++
5 files changed, 72 insertions(+)
diff --git a/travis/test/ilog-error.stderr b/travis/test/ilog-error.stderr
new file mode 100644
index 00000000..cac46820
--- /dev/null
+++ b/travis/test/ilog-error.stderr
@@ -0,0 +1,25 @@
+./travis/test/ilog.asm:136: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:137: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:138: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:139: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:141: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:142: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:143: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:145: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:146: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:147: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:149: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:150: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:151: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:153: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:154: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:155: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:157: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:158: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:159: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:161: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:162: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:163: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:165: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:166: error: ilog2 argument is not a power of two
+./travis/test/ilog.asm:167: error: ilog2 argument is not a power of two
diff --git a/test/ilog2.asm b/travis/test/ilog.asm
similarity index 100%
copy from test/ilog2.asm
copy to travis/test/ilog.asm
diff --git a/travis/test/ilog.bin.t b/travis/test/ilog.bin.t
new file mode 100644
index 00000000..8b69b3b2
Binary files /dev/null and b/travis/test/ilog.bin.t differ
diff --git a/travis/test/ilog.json b/travis/test/ilog.json
new file mode 100644
index 00000000..950db5d2
--- /dev/null
+++ b/travis/test/ilog.json
@@ -0,0 +1,22 @@
+[
+ {
+ "description": "Test ilog2",
+ "id": "ilog",
+ "format": "bin",
+ "source": "ilog.asm",
+ "option": "-Ox -DWARNING",
+ "target": [
+ { "output": "ilog.bin" },
+ { "stderr": "ilog.stderr" }
+ ]
+ },
+ {
+ "description": "Test ilog2 (error)",
+ "ref": "ilog",
+ "option": "-Ox -DERROR",
+ "target": [
+ { "stderr": "ilog-error.stderr" }
+ ],
+ "error": "expected"
+ }
+]
diff --git a/travis/test/ilog.stderr b/travis/test/ilog.stderr
new file mode 100644
index 00000000..1752359f
--- /dev/null
+++ b/travis/test/ilog.stderr
@@ -0,0 +1,25 @@
+./travis/test/ilog.asm:171: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:172: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:173: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:174: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:176: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:177: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:178: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:180: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:181: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:182: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:184: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:185: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:186: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:188: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:189: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:190: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:192: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:193: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:194: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:196: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:197: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:198: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:200: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:201: warning: ilog2 argument is not a power of two [-w+other]
+./travis/test/ilog.asm:202: warning: ilog2 argument is not a power of two [-w+other]
More information about the Nasm-commits
mailing list