projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.19.5: minor wording fix
[sbcl.git]
/
tests
/
step.impure.lisp
diff --git
a/tests/step.impure.lisp
b/tests/step.impure.lisp
index
afa3281
..
ef42033
100644
(file)
--- a/
tests/step.impure.lisp
+++ b/
tests/step.impure.lisp
@@
-14,7
+14,7
@@
(in-package :cl-user)
;; No stepper support on some platforms.
(in-package :cl-user)
;; No stepper support on some platforms.
-#-(or x86 x86-64 ppc)
+#-(or x86 x86-64 ppc sparc mips)
(sb-ext:quit :unix-status 104)
(defun fib (x)
(sb-ext:quit :unix-status 104)
(defun fib (x)
@@
-26,12
+26,14
@@
(defvar *cerror-called* nil)
(defvar *cerror-called* nil)
+(define-condition cerror-break (error) ())
+
(defun fib-break (x)
(declare (optimize debug))
(if (< x 2)
(progn
(unless *cerror-called*
(defun fib-break (x)
(declare (optimize debug))
(if (< x 2)
(progn
(unless *cerror-called*
- (cerror "a" "b")
+ (cerror "a" 'cerror-break)
(setf *cerror-called* t))
1)
(+ (fib-break (1- x))
(setf *cerror-called* t))
1)
(+ (fib-break (1- x))
@@
-144,7
+146,7
@@
results)
(invoke-restart 'step-into))))))
(setf *cerror-called* nil)
results)
(invoke-restart 'step-into))))))
(setf *cerror-called* nil)
- (handler-bind ((error
+ (handler-bind ((cerror-break
(lambda (c)
(sb-impl::enable-stepping)
(invoke-restart 'continue))))
(lambda (c)
(sb-impl::enable-stepping)
(invoke-restart 'continue))))
@@
-223,7
+225,8
@@
(handler-bind ((step-condition #'sb-impl::invoke-stepper))
(test-step-out)))
(handler-bind ((step-condition #'sb-impl::invoke-stepper))
(test-step-out)))
-(with-test (:name :step-start-from-break)
+(with-test (:name :step-start-from-break
+ :fails-on :mips)
(handler-bind ((step-condition #'sb-impl::invoke-stepper))
(test-step-start-from-break)))
(handler-bind ((step-condition #'sb-impl::invoke-stepper))
(test-step-start-from-break)))