~ chicken-core (chicken-5) 61ee5587f59a5ae7b56dbee2ef6ca7580dff12f9
commit 61ee5587f59a5ae7b56dbee2ef6ca7580dff12f9
Author: Mario Domenech Goulart <mario.goulart@gmail.com>
AuthorDate: Sun Dec 11 11:04:26 2011 -0200
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Sun Dec 11 14:50:58 2011 +0100
Copy cygchicken-0.dll to tests dir (runtests.sh) and remove *.dll on testclean target (rules.make). Fixes #690.
diff --git a/rules.make b/rules.make
index e35cb658..f19972f4 100644
--- a/rules.make
+++ b/rules.make
@@ -645,7 +645,7 @@ distclean: clean confclean
testclean:
$(REMOVE_COMMAND) $(REMOVE_COMMAND_RECURSIVE_OPTIONS) $(SRCDIR)tests$(SEP)a.out $(SRCDIR)tests$(SEP)scrutiny.out \
- $(SRCDIR)tests$(SEP)tmp* $(SRCDIR)tests$(SEP)*.so $(SRCDIR)tests$(SEP)*.import.scm $(SRCDIR)tests$(SEP)repository
+ $(SRCDIR)tests$(SEP)tmp* $(SRCDIR)tests$(SEP)*.so $(SRCDIR)tests$(SEP)*.import.scm $(SRCDIR)tests$(SEP)repository $(SRCDIR)tests$(SEP)*.dll
# run tests
diff --git a/tests/runtests.sh b/tests/runtests.sh
index d54c9bca..dc5b3dd9 100644
--- a/tests/runtests.sh
+++ b/tests/runtests.sh
@@ -48,6 +48,10 @@ else
TIME=/usr/bin/time
fi
+
+# for cygwin
+test -f ../cygchicken-0.dll && cp ../cygchicken-0.dll .
+
compile="../csc -compiler $CHICKEN -v -I.. -L.. -include-path .. -o a.out"
compile2="../csc -compiler $CHICKEN -v -I.. -L.. -include-path .."
compile_s="../csc -s -compiler $CHICKEN -v -I.. -L.. -include-path .."
Trap