1
0
mirror of https://github.com/fachat/xa65.git synced 2025-04-08 18:37:12 +00:00

add binclude tests to testsuite

This commit is contained in:
A. Fachat 2014-08-19 17:35:49 +02:00
parent 27e416f1ff
commit 157ebf100a
5 changed files with 38 additions and 0 deletions

View File

@ -1,4 +1,5 @@
tests:
(cd adrm; make tests)
(cd binclude; make tests)

View File

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

Binary file not shown.

Binary file not shown.

32
xa/tests/binclude/runtest.sh Executable file
View File

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