diff --git a/test/asm/test.sh b/test/asm/test.sh index 89dba563..dbf27496 100644 --- a/test/asm/test.sh +++ b/test/asm/test.sh @@ -4,3 +4,5 @@ for i in *.asm; do ../../rgbasm $i >$fname 2>&1 diff -u $fname ${i%.asm}.out done + +exit 0 diff --git a/test/asm/undefined-dot.out b/test/asm/undefined-dot.out index d59c0fe7..aeb8fd05 100644 --- a/test/asm/undefined-dot.out +++ b/test/asm/undefined-dot.out @@ -1,3 +1,3 @@ ERROR: undefined-dot.asm(3): '.' not defined -../../rgbasm: Assembly aborted in pass 2 (1 errors)! +rgbasm:error:Assembly aborted in pass 2 (1 errors)! diff --git a/test/asm/update-refs.sh b/test/asm/update-refs.sh new file mode 100644 index 00000000..b2f88907 --- /dev/null +++ b/test/asm/update-refs.sh @@ -0,0 +1,8 @@ +fname=$(mktemp) + +for i in *.asm; do + ../../rgbasm $i >$fname 2>&1 + mv -f $fname ${i%.asm}.out +done + +exit 0