Mark an asm test as failed if linking fails

This commit is contained in:
ISSOtm committed 2026-09-25 13:48:10 -04:00
1 parent 646cb05faf
commit 6a08e809b5
1 file changed
+1
+1
View File
@@ -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 || $? ))