From ef4fd5ab4fee64639dcd18ead2a82aa2235661fd Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 14 Apr 2019 10:08:11 +0100 Subject: Add an initial test Along with the buildsystem changes to make `make check` work. --- Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index ad9eddb..ca95abe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -54,3 +54,16 @@ SOURCES = \ guix-data-service/web/sxml.scm \ guix-data-service/web/util.scm \ guix-data-service/web/view/html.scm + +TEST_EXTENSIONS = .scm + +TESTS = \ + tests/model-derivation.scm + +AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" + +SCM_LOG_DRIVER = $(top_builddir)/test-env \ + $(GUILE) --no-auto-compile -e main \ + $(top_srcdir)/build-aux/test-driver.scm + +AM_SCM_LOG_DRIVER_FLAGS = --brief=yes -- cgit v1.2.3