Skip to content

Commit e24e18e

Browse files
committed
travis: add rdpid
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
1 parent b3233c7 commit e24e18e

File tree

4 files changed

+46
-0
lines changed

4 files changed

+46
-0
lines changed

travis/test/rdpid.asm

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
%ifdef ERROR
2+
%define ERR(x) x
3+
%else
4+
%define ERR(x)
5+
%endif
6+
7+
bits 16
8+
9+
rdpid eax
10+
ERR(rdpid ax)
11+
12+
bits 32
13+
14+
rdpid ebx
15+
ERR(rdpid bx)
16+
17+
bits 64
18+
19+
rdpid rcx
20+
rdpid ecx
21+
ERR(rdpid cx)

travis/test/rdpid.bin.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
������������

travis/test/rdpid.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[
2+
{
3+
"description": "Test rdpid",
4+
"id": "rdpid",
5+
"format": "bin",
6+
"source": "rdpid.asm",
7+
"option": "-Ox",
8+
"target": [
9+
{ "output": "rdpid.bin" }
10+
]
11+
},
12+
{
13+
"description": "Test rdpid (error)",
14+
"ref": "rdpid",
15+
"option": "-Ox -DERROR",
16+
"target": [
17+
{ "stderr": "rdpid.stderr" }
18+
],
19+
"error": "expected"
20+
}
21+
]

travis/test/rdpid.stderr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
./travis/test/rdpid.asm:10: error: invalid combination of opcode and operands
2+
./travis/test/rdpid.asm:15: error: invalid combination of opcode and operands
3+
./travis/test/rdpid.asm:21: error: invalid combination of opcode and operands

0 commit comments

Comments
 (0)