aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-09-16 21:02:14 +0200
committerMaxime Devos <maximedevos@telenet.be>2021-09-21 12:22:14 +0200
commit088ea8b27b95143584cbc36202c5a02dfe95796c (patch)
tree5a077023a3663d6ef5ff57259a671fd0c3c9757c
parent73bb3f68c83a647cb77859f129e7d1a2d33e311b (diff)
downloadgnunet-scheme-088ea8b27b95143584cbc36202c5a02dfe95796c.tar.gz
gnunet-scheme-088ea8b27b95143584cbc36202c5a02dfe95796c.zip
build: Always auto-compile tests.
* Makefile.am (SCM_LOG_DRIVER): Set XDG_CACHE_HOME and --auto-compile.
-rw-r--r--Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 8a38a53..4887bcb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -143,9 +143,14 @@ TESTS =
143 143
144# Scheme tests 144# Scheme tests
145# FIXME ./pre-inst-env & ./test-env 145# FIXME ./pre-inst-env & ./test-env
146#
147# Set --auto-compile, because ‘tests/envelope.scm - references dropped after
148# sent’ requires optimisation to avoid keeping references. Set XDG_CACHE_HOME
149# because $HOME may be unwritable and to reduce clutter.
146SCM_LOG_DRIVER = \ 150SCM_LOG_DRIVER = \
147 $(GUILE) -L $(top_srcdir) -C $(top_builddir) \ 151 env XDG_CACHE_HOME="$(abs_builddir)" $(GUILE) --auto-compile -L \
148 -e main $(top_srcdir)/build-aux/test-driver.scm 152 $(top_srcdir) -C $(top_builddir) -e main \
153 $(top_srcdir)/build-aux/test-driver.scm
149 154
150SCM_TESTS = \ 155SCM_TESTS = \
151 tests/envelope.scm \ 156 tests/envelope.scm \