mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Add script to update references of rgbasm tests
Update test references. Signed-off-by: AntonioND <antonio_nd@outlook.com>
This commit is contained in:
@@ -4,3 +4,5 @@ for i in *.asm; do
|
||||
../../rgbasm $i >$fname 2>&1
|
||||
diff -u $fname ${i%.asm}.out
|
||||
done
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
ERROR: undefined-dot.asm(3):
|
||||
'.' not defined
|
||||
../../rgbasm: Assembly aborted in pass 2 (1 errors)!
|
||||
rgbasm:error:Assembly aborted in pass 2 (1 errors)!
|
||||
|
||||
8
test/asm/update-refs.sh
Normal file
8
test/asm/update-refs.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
fname=$(mktemp)
|
||||
|
||||
for i in *.asm; do
|
||||
../../rgbasm $i >$fname 2>&1
|
||||
mv -f $fname ${i%.asm}.out
|
||||
done
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user