test/run.lisp @ 564c709801aa

Implement the query code runner

Also adds a few convenience functions for functors, and makes structures print
more nicely in the heap dump.
author Steve Losh <steve@stevelosh.com>
date Sun, 10 Apr 2016 16:02:54 +0000
parents ae2b13a9a629
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))