Subject: [mumi v3 4/4] Set only GUILE_LOAD_PATH when running tests.

From: Arun Isaac <[email-masked]>
Date: Wed, 8 Mar 2023 15:36:58 +0000

Somehow, the stubs in tests/client.scm do not work when compiled
modules are found. This could be a guile bug.

* Makefile.am (SCM_LOG_DRIVER): Do not use pre-inst-env. Set only the
load path.
---
 Makefile.am | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 86ba4f0..3e57e63 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -70,8 +70,7 @@ EXTRA_DIST += $(TESTS) \
 AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0
 
 SCM_LOG_DRIVER =                                          \
-  $(top_builddir)/pre-inst-env                            \
-  $(GUILE) --no-auto-compile -e main                      \
+  $(GUILE) --no-auto-compile -L $(top_srcdir) -e main     \
       $(top_srcdir)/build-aux/test-driver.scm
 
 AM_SCM_LOG_DRIVER_FLAGS = --brief=yes
-- 
2.39.1