Enable the Makefile to run tests
This commit is contained in:
parent
7e55db0de7
commit
6119ece5cb
4 changed files with 33 additions and 0 deletions
15
test-env.in
Normal file
15
test-env.in
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
abs_top_srcdir="`cd "@abs_top_srcdir@" > /dev/null; pwd`"
|
||||
abs_top_builddir="`cd "@abs_top_builddir@" > /dev/null; pwd`"
|
||||
|
||||
GUILE_LOAD_COMPILED_PATH="${abs_top_builddir}/tests${GUILE_LOAD_COMPILED_PATH:+:}$abs_top_builddir${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
|
||||
GUILE_LOAD_PATH="$abs_top_builddir/tests:$abs_top_srcdir${GUILE_LOAD_PATH:+:}$abs_top_builddir:$abs_top_srcdir${GUILE_LOAD_PATH:+:}:$GUILE_LOAD_PATH"
|
||||
export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH
|
||||
|
||||
export GUILE_AUTO_COMPILE=0
|
||||
|
||||
PATH="$abs_top_builddir:$PATH"
|
||||
export PATH
|
||||
|
||||
exec "$@"
|
Loading…
Add table
Add a link
Reference in a new issue