X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fclos.test.sh;h=65dd5d8c82ace75fdaff2c65af71591a0c5cab3a;hb=a0a413499415738d23cc40baa44e9c404af54a94;hp=407088e4e65494ad65caac71207445ff1ba33da8;hpb=f2aa2d01b8d69f1c7bff18f86279d4f1018fe127;p=sbcl.git diff --git a/tests/clos.test.sh b/tests/clos.test.sh index 407088e..65dd5d8 100644 --- a/tests/clos.test.sh +++ b/tests/clos.test.sh @@ -45,7 +45,31 @@ EOF fi } -tmpfilename="clos-test-$$-tmp.lisp" +# Test that a file compiles cleanly, with no ERRORs, WARNINGs or +# STYLE-WARNINGs. +# +# Maybe this wants to be in a compiler.test.sh script? This function +# was originally written to test APD's patch for slot readers and +# writers not being known to the compiler. -- CSR, 2002-08-14 +expect_clean_compile () +{ + $SBCL < $tmpfilename < $tmpfilename <