(asma) Add check that asma itself can be assembled in asma-test.sh.

This commit is contained in:
Andrew Alderwick 2022-10-19 12:06:45 +01:00
parent dd21ae5de8
commit 55f5f7a800
1 changed files with 5 additions and 1 deletions

View File

@ -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}"