summaryrefslogtreecommitdiffstats
path: root/tests/local.mk
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-06-17 14:10:58 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-06-17 14:10:58 (EDT)
commitc37add85916c736bfbfe2926c4cc79d08c2def7a (patch)
tree7f0f8b83c7dded662e9f1abda261ab4f2c0ad162 /tests/local.mk
parenteba74d1a22fb8f939501e86cc48c84b1fc477d12 (diff)
build: Add test framework
build-aux/tap-driver.sh: https://git.savannah.gnu.org/cgit/automake.git/plain/lib/tap-driver.sh tests/aux/tap-functions.sh: https://git.savannah.gnu.org/cgit/automake.git/plain/t/ax/tap-functions.sh
Diffstat (limited to 'tests/local.mk')
-rw-r--r--tests/local.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/local.mk b/tests/local.mk
new file mode 100644
index 0000000..2895de2
--- /dev/null
+++ b/tests/local.mk
@@ -0,0 +1,11 @@
+TESTS =
+TEST_EXTENSIONS = .sh
+SH_LOG_DRIVER = \
+ AM_TAP_AWK='$(AWK)' \
+ TOP_SRCDIR="$(abs_top_srcdir)" \
+ TOP_BUILDDIR="$(abs_top_builddir)" \
+ $(SHELL) $(top_srcdir)/build-aux/tap-driver.sh
+EXTRA_DIST += \
+ $(TESTS) \
+ build-aux/tap-driver.sh \
+ tests/aux/tap-functions.sh