1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00
guile/test-suite/standalone/test-extensions
Ludovic Courtès 5b98517a65 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.

* test-suite/standalone/test-extensions: Likewise.
2009-12-14 10:59:25 +01:00

16 lines
No EOL
399 B
Scheme
Executable file

#!/bin/sh
exec guile -q -s "$0" "$@"
!#
(load-extension (string-append (getenv "builddir") "/libtest-extensions")
"libtest_extensions_init")
(load-extension (string-append (getenv "builddir") "/libtest-extensions")
"libtest_extensions_init2")
(or (= init2-count 1)
(error "init2 called more or less than one time"))
;; Local Variables:
;; mode: scheme
;; End: