mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Make test scripts return error code
Make them executable. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
4
test/asm/test.sh
Normal file → Executable file
4
test/asm/test.sh
Normal file → Executable file
@@ -1,8 +1,10 @@
|
||||
fname=$(mktemp)
|
||||
rc=0
|
||||
|
||||
for i in *.asm; do
|
||||
../../rgbasm $i >$fname 2>&1
|
||||
diff -u $fname ${i%.asm}.out
|
||||
rc=$(($? || $rc))
|
||||
done
|
||||
|
||||
exit 0
|
||||
exit $rc
|
||||
|
||||
0
test/asm/update-refs.sh
Normal file → Executable file
0
test/asm/update-refs.sh
Normal file → Executable file
Reference in New Issue
Block a user