test/run.lisp @ b073c3d4a7a9

Don't put structure cells on the heap

This is the first optimization in chapter 5.  It seems to help a little bit, and
is almost trivial to implement.  Cool.
author Steve Losh <steve@stevelosh.com>
date Tue, 10 May 2016 19:05:13 +0000
parents 00f7bec64b84
children 14de0f74d3e2
(let ((*standard-output* (make-broadcast-stream)))
  (ql:quickload "bones-test"))


(defvar *passed* t)

(defun test (spec)
  (let ((result (5am:run spec)))
    (5am:explain! result)
    (when (not (5am:results-status result))
      (setf *passed* nil))))

(test :bones)
(test :bones.paip)
(test :bones.wam)

(sb-ext:exit :code (if *passed* 0 1))