added test script

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@284 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
marcobaye 2020-07-28 12:57:26 +00:00
parent 6dd15f7116
commit 2acece9c60

8
testing/cpus/check-all-cpus.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
for CPU in 6502 65c02 r65c02 w65c02 nmos6502 c64dtv2 65ce02 4502 m65 65816 ; do
acme -v0 test-"$CPU".a || exit
cmp out-"$CPU".o expected-"$CPU".o || exit
done
echo
echo "All CPU tests passed successfully."
echo