1
0
mirror of https://github.com/fachat/xa65.git synced 2024-12-29 07:29:50 +00:00

more tests, cleanup output

This commit is contained in:
A. Fachat 2014-08-19 22:47:40 +02:00
parent d65e2df941
commit 621f91d884
10 changed files with 48 additions and 8 deletions

View File

@ -5,8 +5,8 @@
#THISDIR=`dirname $0`
THISDIR=`pwd`
echo "0=$0"
echo "THISDIR=$THISDIR"
#echo "0=$0"
#echo "THISDIR=$THISDIR"
declare -A opts
#opts=([816.asm]="-w")

View File

@ -5,8 +5,8 @@
#THISDIR=`dirname $0`
THISDIR=`pwd`
echo "0=$0"
echo "THISDIR=$THISDIR"
#echo "0=$0"
#echo "THISDIR=$THISDIR"
declare -A opts
#opts=([816.asm]="-w")

View File

@ -5,8 +5,8 @@
#THISDIR=`dirname $0`
THISDIR=`pwd`
echo "0=$0"
echo "THISDIR=$THISDIR"
#echo "0=$0"
#echo "THISDIR=$THISDIR"
declare -A opts
#opts=([816.asm]="-w")

View File

@ -5,8 +5,8 @@
#THISDIR=`dirname $0`
THISDIR=`pwd`
echo "0=$0"
echo "THISDIR=$THISDIR"
#echo "0=$0"
#echo "THISDIR=$THISDIR"
declare -A opts
#opts=([816.asm]="-w")

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

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

Binary file not shown.

View File

@ -0,0 +1 @@
<EFBFBD><01>

1
xa/tests/comcom/comcom2.asm Symbolic link
View File

@ -0,0 +1 @@
comcom.asm

33
xa/tests/comcom/runtest.sh Executable file
View File

@ -0,0 +1,33 @@
#!/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[comcom2.asm]="-M"
opts[scomcom.asm]="-M"
#ASMFLAGS=-v
ASMFLAGS=
# exclude filter from *.asm if no explicit file is given
EXCLUDE=
# test files used
TESTFILES=""
# files to compare afterwards, against <file>-<script>
COMPAREFILES=a.out
XA=$THISDIR/../../xa
##########################
# actual code
. ../func.sh