commit 55f5f7a80074ad258a425fb007d7e16c9681adaf
parent dd21ae5de89ebb48f673a43075d8e352f4edecea
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Wed, 19 Oct 2022 12:06:45 +0100
(asma) Add check that asma itself can be assembled in asma-test.sh.
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/etc/asma-test.sh b/etc/asma-test.sh
@@ -15,7 +15,11 @@ expect_failure() {
}
echo 'Assembling asma with uxnasm'
-bin/uxnasm projects/software/asma.tal asma-test/asma.rom > asma-test/uxnasm.log
+if ! bin/uxnasm projects/software/asma.tal asma-test/asma.rom > asma-test/uxnasm.log; then
+ echo 'Failed to assemble asma!'
+ cat asma-test/uxnasm.log
+ exit 1
+fi
for F in $(find projects -path projects/library -prune -false -or -path projects/assets -prune -false -or -type f -name '*.tal' | sort); do
echo "Comparing assembly of ${F}"