1
0
mirror of https://github.com/fachat/xa65.git synced 2024-06-01 07:41:52 +00:00
xa65/xa/tests/fordef/runtest.sh

35 lines
514 B
Bash
Executable File

#!/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"
declare -A errs
errs[test4.asm]=1
#ASMFLAGS=-v
ASMFLAGS=
# exclude filter from *.asm if no explicit file is given
EXCLUDE=
# test files used
TESTFILES="test2.s"
# files to compare afterwards, against <file>-<script>
COMPAREFILES="a.out test.asm.err test4.asm.err"
XA=$THISDIR/../../xa
##########################
# actual code
. ../func.sh