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:
parent
27e416f1ff
commit
157ebf100a
@ -1,4 +1,5 @@
|
||||
|
||||
tests:
|
||||
(cd adrm; make tests)
|
||||
(cd binclude; make tests)
|
||||
|
||||
|
5
xa/tests/binclude/Makefile
Normal file
5
xa/tests/binclude/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
tests:
|
||||
./runtest.sh -q -C
|
||||
|
||||
|
BIN
xa/tests/binclude/a.out-test
Normal file
BIN
xa/tests/binclude/a.out-test
Normal file
Binary file not shown.
BIN
xa/tests/binclude/a.out-test2
Normal file
BIN
xa/tests/binclude/a.out-test2
Normal file
Binary file not shown.
32
xa/tests/binclude/runtest.sh
Executable file
32
xa/tests/binclude/runtest.sh
Executable 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user