aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès2009-11-20 12:04:36 +0100
committerLudovic Courtès2009-11-20 12:11:38 +0100
commit238a6ee02e730e148d84dbc7fac4b7a46140031f (patch)
treee85b954cc6da743cb2ea66f86e76c045360b7836 /tests
parentcf8a9c935c972d06b265ef5e80e0318047c74ad2 (diff)
downloadskribilo-238a6ee02e730e148d84dbc7fac4b7a46140031f.tar.gz
skribilo-238a6ee02e730e148d84dbc7fac4b7a46140031f.tar.lz
skribilo-238a6ee02e730e148d84dbc7fac4b7a46140031f.zip
Define $GUILE_LOAD_COMPILED_PATH for Guile 2.x.
* guile-vm.am (guile_warnings): New variable. (.scm.go): Set $GUILE_LOAD_COMPILED_PATH appropriately, specify Guile compilation warnings. * src/pre-inst-skribilo.in, src/skribilo.in: Set $GUILE_LOAD_COMPILED_PATH appropriately. * tests/Makefile.am (TESTS_ENVIRONMENT): Set $GUILE_AUTO_COMPILE and $GUILE_LOAD_COMPILED_PATH. * doc/user/Makefile.am (skribilo.info, .skb.html, .skb.lout, .skb.tex, .skb.ctx): Set $GUILE_LOAD_COMPILED_PATH. (load_compiled_path): New variable.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index bd4349f..280875a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,4 +1,6 @@
-TESTS_ENVIRONMENT = \
+TESTS_ENVIRONMENT = \
+ GUILE_AUTO_COMPILE=0 \
+ GUILE_LOAD_COMPILED_PATH="$(top_builddir)/src/guile:$$GUILE_LOAD_COMPILED_PATH" \
$(GUILE) -L $(top_srcdir)/src/guile -L $(top_builddir)/src/guile
TESTS = ast.test readers/rss-2.test resolve.test