mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
travis: add timesneg
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
bbed2ce3ce
commit
985f30df21
3 changed files with 18 additions and 0 deletions
3
travis/test/timesneg.asm
Normal file
3
travis/test/timesneg.asm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
bits 32
|
||||
times -1 db 0
|
||||
times -1 incbin "./travis/test/timesneg.asm"
|
||||
13
travis/test/timesneg.json
Normal file
13
travis/test/timesneg.json
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[
|
||||
{
|
||||
"description": "Test negative TIMES value",
|
||||
"id": "timesneg",
|
||||
"format": "bin",
|
||||
"source": "timesneg.asm",
|
||||
"option": "-Ox",
|
||||
"target": [
|
||||
{ "stderr": "timesneg.stderr" }
|
||||
],
|
||||
"error": "expected"
|
||||
}
|
||||
]
|
||||
2
travis/test/timesneg.stderr
Normal file
2
travis/test/timesneg.stderr
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
./travis/test/timesneg.asm:2: error: TIMES value -1 is negative
|
||||
./travis/test/timesneg.asm:3: error: TIMES value -1 is negative
|
||||
Loading…
Add table
Add a link
Reference in a new issue