-# *.test.sh files are scripts to test stuff. A file foo.test.sh
-# may be associated with other files foo*, e.g. foo.lisp, foo-1.lisp,
-# or foo.pl.
-for f in *.test.sh; do
- sh $f
-done
+tenfour () {
+ if [ $1 = $EXIT_TEST_WIN ]; then
+ echo ok
+ else
+ echo test failed, expected $EXIT_TEST_WIN return code, got $1
+ exit 1
+ fi
+}
+set +u
+run_sbcl \
+ --eval '(with-compilation-unit () (load "run-tests.lisp"))' \
+ --eval '(run-tests::run-all)' $*
+
+tenfour $?
+
+echo '//apparent success (reached end of run-tests.sh normally)'
+date