From 5b86b6d345f8ab3800b1ff1818d7015830ba0bf6 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 8 Mar 2023 15:36:58 +0000 Subject: Set only GUILE_LOAD_PATH when running tests. 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(-) (limited to 'Makefile.am') 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 -- cgit v1.2.3