~ chicken-core (chicken-5) 7c27aa0392f1562a5764382b7d03f75f33fd28df
commit 7c27aa0392f1562a5764382b7d03f75f33fd28df Author: felix <felix@call-with-current-continuation.org> AuthorDate: Wed Feb 17 08:52:52 2010 +0100 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Wed Feb 17 08:52:52 2010 +0100 fixed problematic test diff --git a/tests/private-repository-test.scm b/tests/private-repository-test.scm index 930027b6..9ad524c0 100644 --- a/tests/private-repository-test.scm +++ b/tests/private-repository-test.scm @@ -4,7 +4,7 @@ (use files) (define repo (normalize-pathname (repository-path))) -(define dir (normalize-pathname (get-environment-variable "REPO_DIR"))) +(define dir (normalize-pathname (car (command-line-arguments)))) (print (list dir repo)) diff --git a/tests/runtests.sh b/tests/runtests.sh index ea00c1e7..a9300675 100644 --- a/tests/runtests.sh +++ b/tests/runtests.sh @@ -221,9 +221,10 @@ $compile -e embedded2.scm echo "======================================== private repository test ..." mkdir -p tmp $compile private-repository-test.scm -private-repository -o tmp/xxx -REPO_DIR=$PWD tmp/xxx -REPO_DIR=$PWD PATH=$PWD/tmp:$PATH xxx -REPO_DIR=$PWD PATH=$PATH:$PWD/tmp xxx +tmp/xxx $PWD/tmp +PATH=$PWD/tmp:$PATH xxx $PWD/tmp +# this may crash, if the PATH contains a non-matching libchicken.dll on Windows: +#PATH=$PATH:$PWD/tmp xxx $PWD/tmp echo "======================================== timing compilation ..." time $compile compiler.scm -O5 -debug pb -v -C -Wa,-WTrap