X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Frun-tests.sh;h=ed1b498962383529a120cf67e3c8939ae8188e76;hb=cf49f2d086069a9c1b57f501df9a6a0bd3a34c3c;hp=541a24a0df8c4b57d4bfc9b4bad5cd6e00d88a3d;hpb=ce7ae6fa75e33b4e484ba7b4e0d79ec2b9d424fd;p=sbcl.git diff --git a/tests/run-tests.sh b/tests/run-tests.sh old mode 100644 new mode 100755 index 541a24a..ed1b498 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -1,142 +1,55 @@ #!/bin/sh -# Run the regression tests in this directory. - # This software is part of the SBCL system. See the README file for # more information. # # While most of SBCL is derived from the CMU CL system, the test # files (like this one) were written from scratch after the fork # from CMU CL. -# +# # This software is in the public domain and is provided with # absolutely no warranty. See the COPYING and CREDITS files for # more information. -# how we invoke SBCL in the tests -# -# Until sbcl-0.6.12.8, the shell variable SBCL was bound to a relative -# pathname, but now we take care to bind it to an absolute pathname (still -# generated relative to `pwd` in the tests/ directory) so that tests -# can chdir before invoking SBCL and still work. -sbclstem=`pwd`/../src/runtime/sbcl -SBCL="${1:-$sbclstem --core `pwd`/../output/sbcl.core --noinform --sysinit /dev/null --userinit /dev/null --noprint --disable-debugger}" -export SBCL -echo /running tests on SBCL=\'$SBCL\' -# more or less like SBCL, but without enough grot removed that appending -# a --core command line argument works -SBCL_ALLOWING_CORE=${1:-$sbclstem} -export SBCL_ALLOWING_CORE -echo /with SBCL_ALLOWING_CORE=\'$SBCL_ALLOWING_CORE\' +if [ "$1" = "--help" ]; then + cat <