X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-util.lisp;h=8381019c7be36d165902be558dfdd26ff3ab93ac;hb=2fb47966f49dd426130862dc7a96a7ffdea42bbb;hp=92a4b32090e40e9681bf02562bd90ba4b92ea790;hpb=d6f9676ae94419cb5544c45821a8d31adbc1fbe8;p=sbcl.git diff --git a/tests/test-util.lisp b/tests/test-util.lisp index 92a4b32..8381019 100644 --- a/tests/test-util.lisp +++ b/tests/test-util.lisp @@ -54,6 +54,12 @@ (setf *test-count* 0)) (incf *test-count*)) +(defun really-invoke-debugger (condition) + (with-simple-restart (continue "Continue") + (let ((*invoke-debugger-hook* *invoke-debugger-hook*)) + (enable-debugger) + (invoke-debugger condition)))) + (defun fail-test (type test-name condition) (if (stringp condition) (log-msg "~@<~A ~S ~:_~A~:>" @@ -77,12 +83,6 @@ (defun skipped-p (skipped-on) (sb-impl::featurep skipped-on)) -(defun really-invoke-debugger (condition) - (with-simple-restart (continue "Continue") - (let ((*invoke-debugger-hook* *invoke-debugger-hook*)) - (enable-debugger) - (invoke-debugger condition)))) - (defun test-env () (cons (format nil "SBCL_MACHINE_TYPE=~A" (machine-type)) (cons (format nil "SBCL_SOFTWARE_TYPE=~A" (software-type))