summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2020-01-01 00:00:00 +0100
committerVivien Kraus <vivien@planete-kraus.eu>2021-06-05 16:09:29 +0200
commit7ea0ff35a872b298fadb4263d080de40027db9ac (patch)
tree22abb6a7a5d68a3db7326275dee0af693393decb
parentb5ec2e0e2b544a0be65c2e136ac1c1e4ef4f6cf9 (diff)
Set up tests
-rw-r--r--Makefile.am1
-rw-r--r--tests/Makefile.am9
-rw-r--r--tests/load-library.scm1
3 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index fa46a72..207bba2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,6 +15,7 @@ INDENTED =
include src/Makefile.am
include doc/Makefile.am
+include tests/Makefile.am
EXTRA_DIST += $(top_srcdir)/.version
BUILT_SOURCES += $(top_srcdir)/.version
diff --git a/tests/Makefile.am b/tests/Makefile.am
new file mode 100644
index 0000000..1e4b2df
--- /dev/null
+++ b/tests/Makefile.am
@@ -0,0 +1,9 @@
+TESTS = %reldir%/load-library.scm
+
+EXTRA_DIST += $(TESTS)
+
+TEST_EXTENSIONS = .scm
+
+AM_TESTS_ENVIRONMENT = $(top_builddir)/pre-inst-env
+SCM_LOG_COMPILER = $(GUILE)
+AM_SCM_LOG_FLAGS = --no-auto-compile -s
diff --git a/tests/load-library.scm b/tests/load-library.scm
new file mode 100644
index 0000000..196e273
--- /dev/null
+++ b/tests/load-library.scm
@@ -0,0 +1 @@
+(use-modules (webid-oidc))