test/run.lisp @ ae2b13a9a629

Improve the testing infrastructure, rename find-all
author Steve Losh <steve@stevelosh.com>
date Fri, 18 Mar 2016 12:09:36 +0000
parents b22eb7fe2faa
children 00f7bec64b84
(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)

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