X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fdebug.impure.lisp;h=d54308cf9c268c96ef61e5cc67a1623055a06607;hb=8151587cdfac76dfdebe98caf4790839ff5aaa38;hp=67303cccef9ef94ee0aff5583e3fa6db8c4ded9c;hpb=6e4a6b4ccbc0608f29aad507ee20a3de1356b75a;p=sbcl.git diff --git a/tests/debug.impure.lisp b/tests/debug.impure.lisp index 67303cc..d54308c 100644 --- a/tests/debug.impure.lisp +++ b/tests/debug.impure.lisp @@ -366,6 +366,26 @@ '(((lambda (x)) 13) ((lambda (y)) 13)))) +(with-test (:name :clos-slot-typecheckfun-named) + (assert + (verify-backtrace + (lambda () + (eval `(locally (declare (optimize safety)) + (defclass clos-typecheck-test () + ((slot :type fixnum))) + (setf (slot-value (make-instance 'clos-typecheck-test) 'slot) t)))) + '(((sb-pcl::slot-typecheck clos-typecheck-test slot) t))))) + +(with-test (:name :clos-emf-named) + (assert + (verify-backtrace + (lambda () + (eval `(progn + (defmethod clos-emf-named-test ((x symbol)) x) + (defmethod clos-emf-named-test :before (x) (assert x)) + (clos-emf-named-test nil)))) + '(((sb-pcl::emf clos-emf-named-test) ? ? nil))))) + ;;;; test TRACE (defun trace-this () @@ -389,7 +409,7 @@ ;;; on that platform. #-(and (or ppc x86 x86-64) darwin) (with-test (:name (trace :encapsulate nil) - :fails-on '(or :ppc :sparc :mips)) + :fails-on '(or (and :ppc (not :linux)) :sparc :mips)) (let ((out (with-output-to-string (*trace-output*) (trace trace-this :encapsulate nil) (assert (eq 'ok (trace-this))) @@ -399,7 +419,7 @@ #-(and (or ppc x86 x86-64) darwin) (with-test (:name (trace-recursive :encapsulate nil) - :fails-on '(or :ppc :sparc :mips)) + :fails-on '(or (and :ppc (not :linux)) :sparc :mips)) (let ((out (with-output-to-string (*trace-output*) (trace trace-fact :encapsulate nil) (assert (= 120 (trace-fact 5)))