mirror of
https://github.com/fachat/xa65.git
synced 2025-01-01 10:29:19 +00:00
more tests, cleanup output
This commit is contained in:
parent
d65e2df941
commit
621f91d884
@ -5,8 +5,8 @@
|
|||||||
#THISDIR=`dirname $0`
|
#THISDIR=`dirname $0`
|
||||||
THISDIR=`pwd`
|
THISDIR=`pwd`
|
||||||
|
|
||||||
echo "0=$0"
|
#echo "0=$0"
|
||||||
echo "THISDIR=$THISDIR"
|
#echo "THISDIR=$THISDIR"
|
||||||
|
|
||||||
declare -A opts
|
declare -A opts
|
||||||
#opts=([816.asm]="-w")
|
#opts=([816.asm]="-w")
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
#THISDIR=`dirname $0`
|
#THISDIR=`dirname $0`
|
||||||
THISDIR=`pwd`
|
THISDIR=`pwd`
|
||||||
|
|
||||||
echo "0=$0"
|
#echo "0=$0"
|
||||||
echo "THISDIR=$THISDIR"
|
#echo "THISDIR=$THISDIR"
|
||||||
|
|
||||||
declare -A opts
|
declare -A opts
|
||||||
#opts=([816.asm]="-w")
|
#opts=([816.asm]="-w")
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
#THISDIR=`dirname $0`
|
#THISDIR=`dirname $0`
|
||||||
THISDIR=`pwd`
|
THISDIR=`pwd`
|
||||||
|
|
||||||
echo "0=$0"
|
#echo "0=$0"
|
||||||
echo "THISDIR=$THISDIR"
|
#echo "THISDIR=$THISDIR"
|
||||||
|
|
||||||
declare -A opts
|
declare -A opts
|
||||||
#opts=([816.asm]="-w")
|
#opts=([816.asm]="-w")
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
#THISDIR=`dirname $0`
|
#THISDIR=`dirname $0`
|
||||||
THISDIR=`pwd`
|
THISDIR=`pwd`
|
||||||
|
|
||||||
echo "0=$0"
|
#echo "0=$0"
|
||||||
echo "THISDIR=$THISDIR"
|
#echo "THISDIR=$THISDIR"
|
||||||
|
|
||||||
declare -A opts
|
declare -A opts
|
||||||
#opts=([816.asm]="-w")
|
#opts=([816.asm]="-w")
|
||||||
|
5
xa/tests/comcom/Makefile
Normal file
5
xa/tests/comcom/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
tests:
|
||||||
|
./runtest.sh -q -C
|
||||||
|
|
||||||
|
|
BIN
xa/tests/comcom/a.out-comcom
Normal file
BIN
xa/tests/comcom/a.out-comcom
Normal file
Binary file not shown.
1
xa/tests/comcom/a.out-scomcom
Normal file
1
xa/tests/comcom/a.out-scomcom
Normal file
@ -0,0 +1 @@
|
|||||||
|
<EFBFBD><01>
|
1
xa/tests/comcom/comcom2.asm
Symbolic link
1
xa/tests/comcom/comcom2.asm
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
comcom.asm
|
33
xa/tests/comcom/runtest.sh
Executable file
33
xa/tests/comcom/runtest.sh
Executable 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user