mirror of
https://github.com/gbdev/rgbds.git
synced 2026-09-22 13:47:05 +00:00
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:
+7
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user