From e1ca691f0acb3f98b85b2aa8227caa0a4262061a Mon Sep 17 00:00:00 2001 From: "A. Fachat" Date: Tue, 19 Aug 2014 22:14:47 +0200 Subject: [PATCH] Allow .a65 files as test files --- xa/tests/chardelimiter/Makefile | 5 +++ .../chardelimiter/{a.o65 => a.out-delimtest} | 0 xa/tests/chardelimiter/runtest.sh | 32 +++++++++++++++++++ xa/tests/func.sh | 14 ++++++-- 4 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 xa/tests/chardelimiter/Makefile rename xa/tests/chardelimiter/{a.o65 => a.out-delimtest} (100%) create mode 100755 xa/tests/chardelimiter/runtest.sh diff --git a/xa/tests/chardelimiter/Makefile b/xa/tests/chardelimiter/Makefile new file mode 100644 index 0000000..b847663 --- /dev/null +++ b/xa/tests/chardelimiter/Makefile @@ -0,0 +1,5 @@ + +tests: + ./runtest.sh -q -C + + diff --git a/xa/tests/chardelimiter/a.o65 b/xa/tests/chardelimiter/a.out-delimtest similarity index 100% rename from xa/tests/chardelimiter/a.o65 rename to xa/tests/chardelimiter/a.out-delimtest diff --git a/xa/tests/chardelimiter/runtest.sh b/xa/tests/chardelimiter/runtest.sh new file mode 100755 index 0000000..7ef9a3d --- /dev/null +++ b/xa/tests/chardelimiter/runtest.sh @@ -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="" + +# files to compare afterwards, against -