guix-patches
[Top][All Lists]
Advanced

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

[bug#61645] [PATCH v2 4/4] Set only GUILE_LOAD_PATH when running tests.


From: Arun Isaac
Subject: [bug#61645] [PATCH v2 4/4] Set only GUILE_LOAD_PATH when running tests.
Date: Tue, 21 Feb 2023 00:33:55 +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.38.1






reply via email to

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