Fix SB-VM::SPACE-BYTES to avoid consing SAPs
[sbcl.git] / tests / room.pure.lisp
blob16ebcbf4cc3490798d5c7dd9dd538ceadc0dda90
1 ;;;; tests for ROOM and related functionality
3 ;;;; This software is part of the SBCL system. See the README file for
4 ;;;; more information.
5 ;;;;
6 ;;;; While most of SBCL is derived from the CMU CL system, the test
7 ;;;; files (like this one) were written from scratch after the fork
8 ;;;; from CMU CL.
9 ;;;;
10 ;;;; This software is in the public domain and is provided with
11 ;;;; absolutely no warranty. See the COPYING and CREDITS files for
12 ;;;; more information.
14 (cl:in-package :cl-user)
16 (with-test (:name (sb-vm:print-allocated-objects :smoke))
17 (dolist (space '(:read-only :dynamic #+immobile-space :immobile :static))
18 (with-output-to-string (stream)
19 (sb-vm:print-allocated-objects space :percent 10 :stream stream))))