Mark a link test as failed if assembling fails

Assembling is never *supposed* to fail, but in this case I ended up adding
a test case that triggered a bug in the assembler, and that caused the rest
of the test to become garbled. This is thus more robust.
This commit is contained in:
ISSOtm
2026-09-18 21:19:37 +02:00
committed by Eldred Habert
parent d43ef53745
commit 5b9903f358
+7 -1
View File
@@ -85,7 +85,13 @@ evaluateTest () {
for i in *.asm; do
test=${i%.asm}
startTest
"$RGBASM" -o "$otemp" "${test}.asm"
if ! "$RGBASM" -o "$otemp" "${test}.asm"; then
echo "$bold${red}Failed to assemble $test.asm!$rescolors$resbold"
our_rc=1
evaluateTest
continue
fi
RGBLINKFLAGS=()
if [ -f "${test}.flags" ]; then