X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcore.test.sh;h=4f80be84e76feb4ed96f9b2874e9879796c76d02;hb=62e8cf70b09b73b8a94c303c28d4f4721135bae9;hp=224247083ad5b0bf8177d6155bede056f1104934;hpb=ce7ae6fa75e33b4e484ba7b4e0d79ec2b9d424fd;p=sbcl.git diff --git a/tests/core.test.sh b/tests/core.test.sh index 2242470..4f80be8 100644 --- a/tests/core.test.sh +++ b/tests/core.test.sh @@ -8,13 +8,17 @@ # 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. -tmpcore="core-test-sh-$$.core" -rm -f $tmpcore +. ./subr.sh + +use_test_subdirectory + +tmpcore=$TEST_FILESTEM.core +tmpoutput=$TEST_FILESTEM.txt # In sbcl-0.7.7 SAVE-LISP-AND-DIE didn't work at all because of # flakiness caused by consing/GC/purify twice-and-at-least-twice @@ -24,20 +28,55 @@ rm -f $tmpcore # -- Eric Marsden, # # diagnosed and fixed by Dan Barlow in sbcl-0.7.7.29 -$SBCL < "$tmpoutput" --no-userinit --no-sysinit --noprint <