1
0
mirror of https://github.com/fachat/xa65.git synced 2024-06-18 11:29:34 +00:00

integrate incerr tests into test suite

This commit is contained in:
A. Fachat 2014-08-20 21:44:22 +02:00
parent 33bbe0b7ef
commit 1ff9eba2ff
4 changed files with 37 additions and 1 deletions

View File

@ -1,5 +1,5 @@
TESTS=adrm binclude chardelimiter charset comcom fordef
TESTS=adrm binclude chardelimiter charset comcom fordef incerr
tests:
for i in $(TESTS); do (cd $$i; make tests); done

5
xa/tests/incerr/Makefile Normal file
View File

@ -0,0 +1,5 @@
tests:
./runtest.sh -q -C

31
xa/tests/incerr/runtest.sh Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
# run a test script
#THISDIR=`dirname $0`
THISDIR=`pwd`
#echo "0=$0"
#echo "THISDIR=$THISDIR"
declare -A opts
opts=([test.a65]="-w")
#ASMFLAGS=-v
ASMFLAGS=
# exclude filter from *.asm if no explicit file is given
EXCLUDE=
# test files used
TESTFILES="test.6502"
# files to compare afterwards, against <file>-<script>
COMPAREFILES=
XA=$THISDIR/../../xa
##########################
# actual code
. ../func.sh