From 1ff9eba2ffdc2d215d74ad0ce72a6ab892bba5a4 Mon Sep 17 00:00:00 2001 From: "A. Fachat" Date: Wed, 20 Aug 2014 21:44:22 +0200 Subject: [PATCH] integrate incerr tests into test suite --- xa/tests/Makefile | 2 +- xa/tests/incerr/Makefile | 5 +++++ xa/tests/incerr/runtest.sh | 31 ++++++++++++++++++++++++++++ xa/tests/incerr/{test.s => test.a65} | 0 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 xa/tests/incerr/Makefile create mode 100755 xa/tests/incerr/runtest.sh rename xa/tests/incerr/{test.s => test.a65} (100%) diff --git a/xa/tests/Makefile b/xa/tests/Makefile index 3b90213..007ef24 100644 --- a/xa/tests/Makefile +++ b/xa/tests/Makefile @@ -1,5 +1,5 @@ -TESTS=adrm binclude chardelimiter charset comcom fordef +TESTS=adrm binclude chardelimiter charset comcom fordef incerr tests: for i in $(TESTS); do (cd $$i; make tests); done diff --git a/xa/tests/incerr/Makefile b/xa/tests/incerr/Makefile new file mode 100644 index 0000000..b847663 --- /dev/null +++ b/xa/tests/incerr/Makefile @@ -0,0 +1,5 @@ + +tests: + ./runtest.sh -q -C + + diff --git a/xa/tests/incerr/runtest.sh b/xa/tests/incerr/runtest.sh new file mode 100755 index 0000000..c91c00e --- /dev/null +++ b/xa/tests/incerr/runtest.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +# run a test script + +#THISDIR=`dirname $0` +THISDIR=`pwd` + +#echo "0=$0" +#echo "THISDIR=$THISDIR" + +declare -A opts +opts=([test.a65]="-w") + +#ASMFLAGS=-v +ASMFLAGS= + +# exclude filter from *.asm if no explicit file is given +EXCLUDE= + +# test files used +TESTFILES="test.6502" + +# files to compare afterwards, against -