test/run.lisp @ 3c8bbc73e9e1

Fix fresh db macro
author Steve Losh <steve@stevelosh.com>
date Thu, 28 Apr 2016 18:02:52 +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))