mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-03 10:45:37 +00:00
Mark an asm test as failed if linking fails
This commit is contained in:
1 parent
646cb05faf
commit
6a08e809b5
1 file changed
+1
@@ -117,6 +117,7 @@ for i in *.asm notexist.asm; do
|
|||||||
# 'rgblink -x' implies '-t', so asm/*.out.bin tests cannot use ROMX past 1
|
# 'rgblink -x' implies '-t', so asm/*.out.bin tests cannot use ROMX past 1
|
||||||
if ! "$RGBLINK" -x -o "$gb" "$o"; then
|
if ! "$RGBLINK" -x -o "$gb" "$o"; then
|
||||||
echo "${bold}${red}\`$RGBLINK -x -o $gb $o\` failed!${rescolors}${resbold}"
|
echo "${bold}${red}\`$RGBLINK -x -o $gb $o\` failed!${rescolors}${resbold}"
|
||||||
|
(( our_rc = 1 ))
|
||||||
else
|
else
|
||||||
tryCmp "$desired_binname" "$gb" gb
|
tryCmp "$desired_binname" "$gb" gb
|
||||||
(( our_rc = our_rc || $? ))
|
(( our_rc = our_rc || $? ))
|
||||||
|
|||||||
Reference in new issue
Block a user