[nasm:master] travis: add rdpid
nasm-bot for Cyrill Gorcunov
gorcunov at gmail.com
Thu Oct 15 13:09:12 PDT 2020
Commit-ID: e24e18e6b91f6ae40c9f03fc155683127154f137
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=e24e18e6b91f6ae40c9f03fc155683127154f137
Author: Cyrill Gorcunov <gorcunov at gmail.com>
AuthorDate: Thu, 15 Oct 2020 23:06:04 +0300
Committer: Cyrill Gorcunov <gorcunov at gmail.com>
CommitDate: Thu, 15 Oct 2020 23:06:45 +0300
travis: add rdpid
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
{test => travis/test}/rdpid.asm | 0
travis/test/rdpid.bin.t | 1 +
travis/test/rdpid.json | 21 +++++++++++++++++++++
travis/test/rdpid.stderr | 3 +++
4 files changed, 25 insertions(+)
diff --git a/test/rdpid.asm b/travis/test/rdpid.asm
similarity index 100%
copy from test/rdpid.asm
copy to travis/test/rdpid.asm
diff --git a/travis/test/rdpid.bin.t b/travis/test/rdpid.bin.t
new file mode 100644
index 00000000..cb2a431a
--- /dev/null
+++ b/travis/test/rdpid.bin.t
@@ -0,0 +1 @@
+óÇøóÇûóÇùóÇù
\ No newline at end of file
diff --git a/travis/test/rdpid.json b/travis/test/rdpid.json
new file mode 100644
index 00000000..cbdd3e87
--- /dev/null
+++ b/travis/test/rdpid.json
@@ -0,0 +1,21 @@
+[
+ {
+ "description": "Test rdpid",
+ "id": "rdpid",
+ "format": "bin",
+ "source": "rdpid.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "rdpid.bin" }
+ ]
+ },
+ {
+ "description": "Test rdpid (error)",
+ "ref": "rdpid",
+ "option": "-Ox -DERROR",
+ "target": [
+ { "stderr": "rdpid.stderr" }
+ ],
+ "error": "expected"
+ }
+]
diff --git a/travis/test/rdpid.stderr b/travis/test/rdpid.stderr
new file mode 100644
index 00000000..f4976b65
--- /dev/null
+++ b/travis/test/rdpid.stderr
@@ -0,0 +1,3 @@
+./travis/test/rdpid.asm:10: error: invalid combination of opcode and operands
+./travis/test/rdpid.asm:15: error: invalid combination of opcode and operands
+./travis/test/rdpid.asm:21: error: invalid combination of opcode and operands
More information about the Nasm-commits
mailing list