mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
Allow STEP in pure tests
This commit is contained in:
parent
81d5661af5
commit
140f8dc600
|
|
@ -432,6 +432,7 @@
|
|||
(let ((*package* test-package)
|
||||
(sb-impl::*gentemp-counter* sb-impl::*gentemp-counter*)
|
||||
(sb-c::*check-consistency* sb-c::*check-consistency*)
|
||||
(sb-c:*compile-to-memory-space* sb-c:*compile-to-memory-space*)
|
||||
(sb-c::*policy-min* sb-c::*policy-min*)
|
||||
(sb-c::*policy-max* sb-c::*policy-max*))
|
||||
(restart-case
|
||||
|
|
@ -445,6 +446,7 @@
|
|||
(funcall test-fun file)
|
||||
(log-file-elapsed-time file start log))))
|
||||
(skip-file ())))
|
||||
(sb-impl::disable-stepping)
|
||||
(sb-int:unencapsulate 'open 'open-guard)
|
||||
(when actually-pure
|
||||
(compare-symbol-values global-symbol-values)
|
||||
|
|
|
|||
|
|
@ -11,12 +11,8 @@
|
|||
;;;; absolutely no warranty. See the COPYING and CREDITS files for
|
||||
;;;; more information.
|
||||
|
||||
(in-package :cl-user)
|
||||
|
||||
#+interpreter (sb-ext:exit :code 104)
|
||||
;; No stepper support on some platforms.
|
||||
#-(or x86 x86-64 ppc sparc mips arm arm64)
|
||||
(sb-ext:exit :code 104)
|
||||
#+(or interpreter ppc64 riscv) (invoke-restart 'run-tests::skip-file)
|
||||
|
||||
;; These tests should either with code in dynamic space
|
||||
;; or immobile space, but they only accidentally worked
|
||||
Loading…
Reference in a new issue