mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
Fix test environment issue with ltdl from Libtool 2.2.6b.
Earlier versions of ltdl would look for extensions under $PWD; this behavior changed in 2.2.6b. * test-suite/standalone/Makefile.am (TESTS_ENVIRONMENT): Define $builddir. * test-suite/standalone/test-asmobs: Specify the full path to `libtest-asmobs', using $builddir.
This commit is contained in:
parent
5411e043d0
commit
a0aa1e5b69
2 changed files with 5 additions and 2 deletions
|
@ -28,7 +28,9 @@ check_SCRIPTS =
|
||||||
BUILT_SOURCES =
|
BUILT_SOURCES =
|
||||||
EXTRA_DIST =
|
EXTRA_DIST =
|
||||||
|
|
||||||
TESTS_ENVIRONMENT = "${top_builddir}/pre-inst-guile-env"
|
TESTS_ENVIRONMENT = \
|
||||||
|
builddir="$(builddir)" \
|
||||||
|
"${top_builddir}/pre-inst-guile-env"
|
||||||
|
|
||||||
test_cflags = \
|
test_cflags = \
|
||||||
-I$(top_srcdir)/test-suite/standalone \
|
-I$(top_srcdir)/test-suite/standalone \
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
exec guile -q -s "$0" "$@"
|
exec guile -q -s "$0" "$@"
|
||||||
!#
|
!#
|
||||||
|
|
||||||
(load-extension "libtest-asmobs" "libtest_asmobs_init")
|
(load-extension (string-append (getenv "builddir") "/libtest-asmobs")
|
||||||
|
"libtest_asmobs_init")
|
||||||
|
|
||||||
(define (test x v)
|
(define (test x v)
|
||||||
(if v
|
(if v
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue