~ chicken-core (chicken-5) eaff531433520aaf752fbf79550aa43124d8c2fc
commit eaff531433520aaf752fbf79550aa43124d8c2fc
Author: felix <felix@z.(none)>
AuthorDate: Fri Apr 8 10:38:34 2011 +0200
Commit: felix <felix@z.(none)>
CommitDate: Fri Apr 8 10:38:34 2011 +0200
windows special cases in runtests.sh
diff --git a/tests/runtests.sh b/tests/runtests.sh
index fe2435e4..089dba17 100644
--- a/tests/runtests.sh
+++ b/tests/runtests.sh
@@ -111,7 +111,10 @@ $compile lolevel-tests.scm
./a.out
echo "======================================== arithmetic tests ..."
-$interpret -D check -s arithmetic-test.scm
+if test -z "$MSYSTEM"; then
+ # the windows runtime library prints flonums differently
+ $interpret -D check -s arithmetic-test.scm
+fi
echo "======================================== pretty-printer tests ..."
$interpret -s pp-test.scm
@@ -242,7 +245,11 @@ $compile posix-tests.scm
rm -fr tmpdir
mkdir tmpdir
touch tmpdir/.dotfile
-ln -s /usr tmpdir/symlink
+
+if test -z "$MSYSTEM"; then
+ ln -s /usr tmpdir/symlink
+fi
+
$interpret -R posix -e '(delete-directory "tmpdir" #t)'
echo "======================================== regular expression tests ..."
Trap