mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Automate and improve rgblink test
Check all sections when testing BANK(). Add scripts to verify the tests and update the reference if needed. Signed-off-by: AntonioND <antonio_nd@outlook.com>
This commit is contained in:
9
test/link/update-refs.sh
Normal file
9
test/link/update-refs.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
otemp=$(mktemp)
|
||||
gbtemp=$(mktemp)
|
||||
|
||||
RGBASM=../../rgbasm
|
||||
RGBLINK=../../rgblink
|
||||
|
||||
$RGBASM -o $otemp bank-numbers.asm
|
||||
$RGBLINK -o $gbtemp $otemp > bank-numbers.out 2>&1
|
||||
head -c 20 $gbtemp > bank-numbers.out.bin 2>&1
|
||||
Reference in New Issue
Block a user