Add INCBIN tests

This commit is contained in:
ISSOtm
2021-03-10 00:42:01 +01:00
committed by Eldred Habert
parent cb47ac8b97
commit f11241c2ae
17 changed files with 18 additions and 0 deletions

1
test/asm/data.bin Normal file
View File

@@ -0,0 +1 @@
QÇŔíđ+)W-N^wY7׾ Ô cĘ<63>Ĺ.YzÎö»+á<>ĺŃ'挮‡g}©!°XX6¨"]|Ó6`Ť93ăQu/·]Ć@üä<C3BC>-baüDđ$şsFí$!B(ěx„

0
test/asm/empty.bin Normal file
View File

View File

@@ -0,0 +1,3 @@
SECTION "Test", ROM0
INCBIN "empty.bin", 0, 1

View File

@@ -0,0 +1,2 @@
FATAL: incbin-empty-bad.asm(3):
Specified range in INCBIN is out of bounds

View File

View File

@@ -0,0 +1,3 @@
SECTION "Test", ROM0
INCBIN "empty.bin"

View File

View File

View File

@@ -0,0 +1 @@
INCBIN "data.bin", 123, 0

View File

View File

View File

@@ -0,0 +1,3 @@
SECTION "Bad", ROM0
INCBIN "data.bin", 123, 1

View File

@@ -0,0 +1,2 @@
FATAL: incbin-end-bad.asm(3):
Specified range in INCBIN is out of bounds

View File

3
test/asm/incbin-end.asm Normal file
View File

@@ -0,0 +1,3 @@
SECTION "Test", ROM0
INCBIN "data.bin", 123

0
test/asm/incbin-end.err Normal file
View File

0
test/asm/incbin-end.out Normal file
View File