mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-11 12:21:42 +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:
Regular → Executable
+3
-1
@@ -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
|
||||
|
||||
Regular → Executable
Reference in New Issue
Block a user