gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-scheme] 323/324: build: Always auto-compile tests.


From: gnunet
Subject: [gnunet-scheme] 323/324: build: Always auto-compile tests.
Date: Tue, 21 Sep 2021 13:26:03 +0200

This is an automated email from the git hooks/post-receive script.

maxime-devos pushed a commit to branch master
in repository gnunet-scheme.

commit 088ea8b27b95143584cbc36202c5a02dfe95796c
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Sep 16 21:02:14 2021 +0200

    build: Always auto-compile tests.
    
    * Makefile.am (SCM_LOG_DRIVER): Set XDG_CACHE_HOME and --auto-compile.
---
 Makefile.am | 9 +++++++--
 1 file 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 =
 
 # Scheme tests
 # FIXME ./pre-inst-env & ./test-env
+#
+# Set --auto-compile, because ‘tests/envelope.scm - references dropped after
+# sent’ requires optimisation to avoid keeping references.  Set XDG_CACHE_HOME
+# because $HOME may be unwritable and to reduce clutter.
 SCM_LOG_DRIVER = \
-  $(GUILE) -L $(top_srcdir) -C $(top_builddir) \
-    -e main $(top_srcdir)/build-aux/test-driver.scm
+  env XDG_CACHE_HOME="$(abs_builddir)" $(GUILE) --auto-compile -L \
+    $(top_srcdir) -C $(top_builddir) -e main \
+    $(top_srcdir)/build-aux/test-driver.scm
 
 SCM_TESTS = \
   tests/envelope.scm \

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]