mirror of
https://github.com/gbdev/rgbds.git
synced 2026-01-07 00:51:51 +00:00
Add INCBIN tests
This commit is contained in:
1
test/asm/data.bin
Normal file
1
test/asm/data.bin
Normal file
@@ -0,0 +1 @@
|
|||||||
|
QÇŔíđ+)W-N^wY7Fő×ľÔ cĘ<63>Ĺ.YzÎö»+á<>ĺŃ‚‚'挮‡g}©!°XX6¨"]|Ó6`Ť93ăQu/·]Ć@üä<C3BC>-–baüDđ$şsFí$!B(ěx„
|
||||||
0
test/asm/empty.bin
Normal file
0
test/asm/empty.bin
Normal file
3
test/asm/incbin-empty-bad.asm
Normal file
3
test/asm/incbin-empty-bad.asm
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
SECTION "Test", ROM0
|
||||||
|
|
||||||
|
INCBIN "empty.bin", 0, 1
|
||||||
2
test/asm/incbin-empty-bad.err
Normal file
2
test/asm/incbin-empty-bad.err
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
FATAL: incbin-empty-bad.asm(3):
|
||||||
|
Specified range in INCBIN is out of bounds
|
||||||
0
test/asm/incbin-empty-bad.out
Normal file
0
test/asm/incbin-empty-bad.out
Normal file
3
test/asm/incbin-empty.asm
Normal file
3
test/asm/incbin-empty.asm
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
SECTION "Test", ROM0
|
||||||
|
|
||||||
|
INCBIN "empty.bin"
|
||||||
0
test/asm/incbin-empty.err
Normal file
0
test/asm/incbin-empty.err
Normal file
0
test/asm/incbin-empty.out
Normal file
0
test/asm/incbin-empty.out
Normal file
1
test/asm/incbin-end-0.asm
Normal file
1
test/asm/incbin-end-0.asm
Normal file
@@ -0,0 +1 @@
|
|||||||
|
INCBIN "data.bin", 123, 0
|
||||||
0
test/asm/incbin-end-0.err
Normal file
0
test/asm/incbin-end-0.err
Normal file
0
test/asm/incbin-end-0.out
Normal file
0
test/asm/incbin-end-0.out
Normal file
3
test/asm/incbin-end-bad.asm
Normal file
3
test/asm/incbin-end-bad.asm
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
SECTION "Bad", ROM0
|
||||||
|
|
||||||
|
INCBIN "data.bin", 123, 1
|
||||||
2
test/asm/incbin-end-bad.err
Normal file
2
test/asm/incbin-end-bad.err
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
FATAL: incbin-end-bad.asm(3):
|
||||||
|
Specified range in INCBIN is out of bounds
|
||||||
0
test/asm/incbin-end-bad.out
Normal file
0
test/asm/incbin-end-bad.out
Normal file
3
test/asm/incbin-end.asm
Normal file
3
test/asm/incbin-end.asm
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
SECTION "Test", ROM0
|
||||||
|
|
||||||
|
INCBIN "data.bin", 123
|
||||||
0
test/asm/incbin-end.err
Normal file
0
test/asm/incbin-end.err
Normal file
0
test/asm/incbin-end.out
Normal file
0
test/asm/incbin-end.out
Normal file
Reference in New Issue
Block a user