Add an initial test

Along with the buildsystem changes to make `make check` work.
This commit is contained in:
Christopher Baines 2019-04-14 10:08:11 +01:00
parent d69f77d59e
commit ef4fd5ab4f
5 changed files with 59 additions and 0 deletions

View file

@ -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