From 157ebf100a0729f7eb9273ae31de38b8cda8857f Mon Sep 17 00:00:00 2001 From: "A. Fachat" Date: Tue, 19 Aug 2014 17:35:49 +0200 Subject: [PATCH] add binclude tests to testsuite --- xa/tests/Makefile | 1 + xa/tests/binclude/Makefile | 5 +++++ xa/tests/binclude/a.out-test | Bin 0 -> 299 bytes xa/tests/binclude/a.out-test2 | Bin 0 -> 266 bytes xa/tests/binclude/runtest.sh | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 38 insertions(+) create mode 100644 xa/tests/binclude/Makefile create mode 100644 xa/tests/binclude/a.out-test create mode 100644 xa/tests/binclude/a.out-test2 create mode 100755 xa/tests/binclude/runtest.sh diff --git a/xa/tests/Makefile b/xa/tests/Makefile index 699a340..c23f1ef 100644 --- a/xa/tests/Makefile +++ b/xa/tests/Makefile @@ -1,4 +1,5 @@ tests: (cd adrm; make tests) + (cd binclude; make tests) diff --git a/xa/tests/binclude/Makefile b/xa/tests/binclude/Makefile new file mode 100644 index 0000000..b847663 --- /dev/null +++ b/xa/tests/binclude/Makefile @@ -0,0 +1,5 @@ + +tests: + ./runtest.sh -q -C + + diff --git a/xa/tests/binclude/a.out-test b/xa/tests/binclude/a.out-test new file mode 100644 index 0000000000000000000000000000000000000000..6dd1a4b3e890936a29f952559b7e114e450c6480 GIT binary patch literal 299 zcmYMu!AiqG5C-6$a@eQ%y|s`AZL#z!Ig~(%72AWyO?FBaHrcQ8IHZ2#|^6vBN`v+&GVln^# literal 0 HcmV?d00001 diff --git a/xa/tests/binclude/a.out-test2 b/xa/tests/binclude/a.out-test2 new file mode 100644 index 0000000000000000000000000000000000000000..5f92052cc8ab911b8e436bb4144b040c6a136a89 GIT binary patch literal 266 zcmcgnK?=e!5X>ouzG99Ft*Bt}?zIO6eZXqAG?1E-4bf-RpZOv&75W92JDslXa(aX9am<#|TWOXS6=xNhJuk;6*AD;r{A4{FKR9@77z;-DI%e)Hob3f<@+q u;b0R*n^=~s95N*nq$lS}wDgA)5=#s|M9PH`AHEuLeatU3YHZZ&{rLidc~%<$ literal 0 HcmV?d00001 diff --git a/xa/tests/binclude/runtest.sh b/xa/tests/binclude/runtest.sh new file mode 100755 index 0000000..86b5edb --- /dev/null +++ b/xa/tests/binclude/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="README.1st" + +# files to compare afterwards, against -