~ chicken-core (chicken-5) 73037302ac980288a89ed3aa2a3a774eb97f90c6
commit 73037302ac980288a89ed3aa2a3a774eb97f90c6
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Sat Jan 21 18:06:29 2017 +0100
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Sat Jan 21 18:06:29 2017 +0100
remove obsolete tests and support files (found by sjamaan)
diff --git a/tests/rev-app.scm b/tests/rev-app.scm
deleted file mode 100644
index a044ee0a..00000000
--- a/tests/rev-app.scm
+++ /dev/null
@@ -1,12 +0,0 @@
-(use reverser)
-
-(define (last lst)
- (let loop ((lst lst))
- (if (null? (cdr lst))
- (car lst)
- (loop (cdr lst)))))
-
-(assert (equal? "oof" (rev "foo")))
-(assert (equal? '(a b c) (rev '(c b a))))
-(assert (= rev-version (string->number (last (command-line-arguments)))))
-(exit)
diff --git a/tests/runtests.sh b/tests/runtests.sh
index 915a9201..383bbe2e 100755
--- a/tests/runtests.sh
+++ b/tests/runtests.sh
@@ -36,7 +36,7 @@ mkdir -p test-repository
# copy files into test-repository (by hand to avoid calling `chicken-install'):
for x in \
- chicken.import.so csi.import.so types.db \
+ chicken.import.so types.db \
srfi-4.import.so \
chicken.bitwise.import.so \
chicken.continuation.import.so \
@@ -495,17 +495,6 @@ tmp/xxx ${TEST_DIR}/tmp
PATH=`pwd`/tmp:$PATH xxx ${TEST_DIR}/tmp
# this may crash, if the PATH contains a non-matching libchicken.dll on Windows:
#PATH=$PATH:${TEST_DIR}/tmp xxx ${TEST_DIR}/tmp
-rm -fr rev-app rev-app-2 reverser/*.import.* reverser/*.so
-
-echo "======================================== reinstall tests"
-CHICKEN_REPOSITORY=$CHICKEN_REPOSITORY $CHICKEN_UNINSTALL -force reverser
-CHICKEN_REPOSITORY=$CHICKEN_REPOSITORY CSC_OPTIONS=$COMPILE_OPTIONS \
- CSI_OPTIONS=$SETUP_PREFIX $CHICKEN_INSTALL -t local -l $TEST_DIR \
- -csi ${TEST_DIR}/../csi reverser:1.0
-CHICKEN_REPOSITORY=$CHICKEN_REPOSITORY $interpret -bnq rev-app.scm 1.0
-CHICKEN_REPOSITORY=$CHICKEN_REPOSITORY CSC_OPTIONS=$COMPILE_OPTIONS \
- CSI_OPTIONS=$SETUP_PREFIX $CHICKEN_INSTALL -t local -l $TEST_DIR \
- -reinstall -force -csi ${TEST_DIR}/../csi
-CHICKEN_REPOSITORY=$CHICKEN_REPOSITORY $interpret -bnq rev-app.scm 1.0
+rm -fr reverser/*.import.* reverser/*.so
echo "======================================== done."
Trap