diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-04-22 17:37:33 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-04-22 17:37:33 +0200 |
commit | fb63fbb27eea5e0fe03c269735e0c73bc948c3e4 (patch) | |
tree | 5d628089fe85309b19b42255e7fb10ce09c92c84 /Makefile.am | |
parent | 9175199e9039b9a1dbc5e1eafa05b9c618416f3b (diff) |
Add tests.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 1f54042..61ab603 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,3 +52,24 @@ SOURCES = \ mumi/debbugs.scm \ mumi/xapian.scm +TEST_EXTENSIONS = .scm + +SCM_TESTS = \ + tests/xapian.scm + +TESTS = $(SCM_TESTS) + +EXTRA_DIST += $(TESTS) + +AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0 + +SCM_LOG_DRIVER = \ + $(top_builddir)/pre-inst-env \ + $(GUILE) --no-auto-compile -e main \ + $(top_srcdir)/build-aux/test-driver.scm + +AM_SCM_LOG_DRIVER_FLAGS = --brief=yes + +EXTRA_DIST += \ + pre-inst-env.in \ + build-aux/test-driver.scm |