test/run.lisp @ d80af96eaf15

Rewrite registers to be addresses, not cells

Also add initial (incomplete) implementations of the unification instructions.
author Steve Losh <steve@stevelosh.com>
date Sun, 27 Mar 2016 18:32:37 +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))