mirror of
https://github.com/fachat/xa65.git
synced 2024-09-29 00:55:56 +00:00
integrate incerr tests into test suite
This commit is contained in:
parent
33bbe0b7ef
commit
1ff9eba2ff
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
TESTS=adrm binclude chardelimiter charset comcom fordef
|
TESTS=adrm binclude chardelimiter charset comcom fordef incerr
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
for i in $(TESTS); do (cd $$i; make tests); done
|
for i in $(TESTS); do (cd $$i; make tests); done
|
||||||
|
5
xa/tests/incerr/Makefile
Normal file
5
xa/tests/incerr/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
tests:
|
||||||
|
./runtest.sh -q -C
|
||||||
|
|
||||||
|
|
31
xa/tests/incerr/runtest.sh
Executable file
31
xa/tests/incerr/runtest.sh
Executable 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user