mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +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<EFBFBD><EFBFBD><EFBFBD><02>+)W-N^wY7F<><0C> cʃ<63>.Yz<59><7A><EFBFBD>+<2B><><EFBFBD>т<EFBFBD>'挮<>g}<7D>!<21>XX6<58>"]|<7C>6`<60>93<39>Qu/<2F>]<5D>@<40><><EFBFBD>-<2D>ba<62>D<>$<24>sF<73>$!B(<28>x<EFBFBD>
|
||||
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