X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler-test-util.lisp;h=f0745d29a039010484b07b748acae250dcd47e67;hb=522a3c95b9b7a044ff0ab8df1ca29460ef2ad3a7;hp=47ffa11c0925948ee3e90953f3d5a301addc9c9d;hpb=40bff32181a4d9b591ae2bac69bbee3bd77a82bc;p=sbcl.git diff --git a/tests/compiler-test-util.lisp b/tests/compiler-test-util.lisp index 47ffa11..f0745d2 100644 --- a/tests/compiler-test-util.lisp +++ b/tests/compiler-test-util.lisp @@ -100,21 +100,6 @@ (unwind-protect (progn (with-open-file (f lisp :direction :output) - (dolist (form toplevel-forms) - (prin1 form f))) - (multiple-value-bind (fasl warn fail) (compile-file lisp) - (when load - (load fasl)) - (values warn fail))) - (ignore-errors (delete-file lisp)) - (ignore-errors (delete-file fasl))))) - -(defun file-compile (toplevel-forms &key load) - (let* ((lisp (merge-pathnames "file-compile-tmp.lisp")) - (fasl (compile-file-pathname lisp))) - (unwind-protect - (progn - (with-open-file (f lisp :direction :output) (if (stringp toplevel-forms) (write-line toplevel-forms f) (dolist (form toplevel-forms)