test/run.lisp @ e8934091b7bb

Implement Prolog lists
author Steve Losh <steve@stevelosh.com>
date Thu, 02 Jun 2016 13:42:58 +0000
parents 0b8e6d6401c2
children 13136d4b4761
(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)
(test :bones.circle)

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