Make test scripts return error code

Make them executable.

Signed-off-by: Antonio Niño Díaz <[email protected]>
This commit is contained in:
Antonio Niño Díaz committed 2017-04-10 22:10:10 +01:00
1 parent 5679c7066b
commit 2b5ad9dc38
4 files changed
+16 -2

No files matched your search

Regular → Executable
+3 -1
View 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
Regular → Executable
View File
File mode changed.