~ chicken-core (chicken-5) 59144e025f6752387092631d208ffe37d1865916
commit 59144e025f6752387092631d208ffe37d1865916
Author: Peter Bex <peter.bex@xs4all.nl>
AuthorDate: Sun Mar 9 21:34:36 2014 +0100
Commit: Mario Domenech Goulart <mario.goulart@gmail.com>
CommitDate: Mon Mar 10 20:43:00 2014 -0300
Remove dependency on dos2unix, and restore r4rstest diff.
DIFF_OPTS already contains a -w switch, which takes care of line ending differences.
The r4rstest diff is okay now that we're not relying on gcvt() anymore.
Signed-off-by: Mario Domenech Goulart <mario.goulart@gmail.com>
diff --git a/tests/runtests.sh b/tests/runtests.sh
index a1bac7a8..70655643 100755
--- a/tests/runtests.sh
+++ b/tests/runtests.sh
@@ -82,10 +82,6 @@ $compile typematch-tests.scm -specialize -w
./a.out
$compile scrutiny-tests.scm -A -scrutinize -ignore-repository -types $TYPESDB 2>scrutiny.out -verbose
-if test -n "$MSYSTEM"; then
- dos2unix scrutiny.out
-fi
-
# this is sensitive to gensym-names, so make it optional
if test \! -f scrutiny.expected; then
cp scrutiny.out scrutiny.expected
@@ -95,10 +91,6 @@ diff $DIFF_OPTS scrutiny.expected scrutiny.out
$compile scrutiny-tests-2.scm -A -scrutinize -analyze-only -ignore-repository -types $TYPESDB 2>scrutiny-2.out -verbose
-if test -n "$MSYSTEM"; then
- dos2unix scrutiny-2.out
-fi
-
# this is sensitive to gensym-names, so make it optional
if test \! -f scrutiny-2.expected; then
cp scrutiny-2.out scrutiny-2.expected
@@ -261,12 +253,7 @@ echo "(expect mult-float-print-test to fail)"
$interpret -e '(set! ##sys#procedure->string (constantly "#<procedure>"))' \
-i -s r4rstest.scm >r4rstest.log
-if test -n "$MSYSTEM"; then
- # the windows runtime library prints flonums differently
- tail r4rstest.log
-else
- diff $DIFF_OPTS r4rstest.out r4rstest.log
-fi
+diff $DIFF_OPTS r4rstest.out r4rstest.log
echo "======================================== syntax tests (r5rs_pitfalls) ..."
echo "(expect two failures)"
Trap