1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

* check-guile.in: use @srcdir@ instead of @test_suite_dir@. use

the current directory (build dir) not srcdir to find guile
	executable.  otherwise "make check" doesn't work with a separate
	build directory.  create the test log in
	$build_dir/check-guile.log instead of in srcdir/test-suite
	directory.
	* configure.in: don't define or substitute test_suite_dir.

	* guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
	first line.
This commit is contained in:
Gary Houston 2001-03-18 23:17:32 +00:00
parent 6d163216bd
commit 51cfd7da2c
5 changed files with 22 additions and 9 deletions

View file

@ -11,15 +11,17 @@
#
# Dependencies: dirname sed
TEST_SUITE_DIR=@test_suite_dir@
parent=`dirname $TEST_SUITE_DIR`
TEST_SUITE_DIR=@srcdir@/test-suite
parent=@srcdir@
build_dir=`pwd`
if [ x"$1" = x-i ] ; then
guile=$2
shift
shift
glp=
else
guile=$parent/libguile/guile
guile=$build_dir/libguile/guile
glp=$parent
fi
@ -38,6 +40,6 @@ else
fi
cd $TEST_SUITE_DIR
exec $guile -e main -s guile-test --test-suite $TEST_SUITE_DIR/tests "$@"
exec $guile -e main -s guile-test --test-suite $TEST_SUITE_DIR/tests --log-file $build_dir/check-guile.log "$@"
# check-guile ends here