X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=run-tests.lisp;fp=run-tests.lisp;h=c9bbd31f2a532420ffec29c186a838226ec04258;hb=3199369942d2e5ab4f5b060c2c6b655caf505944;hp=0000000000000000000000000000000000000000;hpb=7e088e3bca94e4cba5a00f3c3734db4ea57f4e2f;p=umlisp.git diff --git a/run-tests.lisp b/run-tests.lisp new file mode 100644 index 0000000..c9bbd31 --- /dev/null +++ b/run-tests.lisp @@ -0,0 +1,27 @@ +(defpackage #:run-tests (:use #:cl)) +(in-package #:run-tests) + +(require 'rt) +(require 'kmrcl) +(require 'clsql-mysql) +(require 'clsql) +(require 'hyperobject) +(load "umlisp.asd") +(asdf:oos 'asdf:test-op 'umlisp) + +(defun quit (&optional (code 0)) + "Function to exit the Lisp implementation. Copied from CLOCC's QUIT function." + #+allegro (excl:exit code) + #+clisp (#+lisp=cl ext:quit #-lisp=cl lisp:quit code) + #+(or cmu scl) (ext:quit code) + #+cormanlisp (win32:exitprocess code) + #+gcl (lisp:bye code) + #+lispworks (lw:quit :status code) + #+lucid (lcl:quit code) + #+sbcl (sb-ext:quit :unix-status (typecase code (number code) (null 0) (t 1))) + #+mcl (ccl:quit code) + #-(or allegro clisp cmu scl cormanlisp gcl lispworks lucid sbcl mcl) + (error 'not-implemented :proc (list 'quit code))) + +(quit) +