mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-09-22 10:43:39 -04:00
travis: add timesneg
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
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
|
Reference in New Issue
Block a user