From d9ed716f24cb93086333a789befcfe0ee3ee2a4b Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 26 Apr 2021 14:00:44 +0530 Subject: Run tests in autotools build system. * build-aux/test-driver.scm.in: New file. * configure.ac: Generate build-aux/test-driver.scm. * Makefile.am (TEST_EXTENSIONS): Add .scm. (SCM_TESTS): Add tests/ccwl.scm and tests/yaml.scm. (TESTS): Set to SCM_TESTS. (EXTRA_DIST): Distribute test files. --- Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index a5e66f9..cabf6cc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -44,11 +44,20 @@ SOURCES = \ ccwl/yaml.scm \ ccwl/utils.scm +TEST_EXTENSIONS = .scm + +SCM_TESTS = \ + tests/ccwl.scm \ + tests/yaml.scm + +TESTS = $(SCM_TESTS) + SCM_LOG_DRIVER = \ $(top_builddir)/pre-inst-env \ $(GUILE) --no-auto-compile -s \ $(top_builddir)/build-aux/test-driver.scm EXTRA_DIST += \ + $(TESTS) \ COPYING \ README.org -- cgit v1.2.3