X-Git-Url: http://git.kpe.io/?p=umlisp-orf.git;a=blobdiff_plain;f=run-tests.lisp;fp=run-tests.lisp;h=bd3da7ccde7a529fab012bc5cf6b486650f8f9ad;hp=0000000000000000000000000000000000000000;hb=d8fe27c58aa49f4a19f8b0dc11f97e0db7662e9e;hpb=020186ffddfabdeb617ec0fca3dec958dddce961 diff --git a/run-tests.lisp b/run-tests.lisp new file mode 100644 index 0000000..bd3da7c --- /dev/null +++ b/run-tests.lisp @@ -0,0 +1,47 @@ +;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: umlisp -*- +;;;; ************************************************************************* +;;;; FILE IDENTIFICATION +;;;; +;;;; Name: parse-macros.lisp +;;;; Purpose: Macros for UMLS file parsing +;;;; Author: Kevin M. Rosenberg +;;;; Created: Apr 2000 +;;;; +;;;; $Id$ +;;;; +;;;; This file, part of UMLisp, is +;;;; Copyright (c) 2000-2004 by Kevin M. Rosenberg, M.D. +;;;; +;;;; UMLisp users are granted the rights to distribute and use this software +;;;; as governed by the terms of the GNU General Public License. +;;;; ************************************************************************* + + +(defpackage #:run-tests (:use #:cl)) +(in-package #:run-tests) + +(require 'rt) +(require 'kmrcl) +(require 'clsql-mysql) +(require 'clsql) +(require 'hyperobject) +(load "umlisp-orf.asd") +(load "umlisp-orf-tests.asd") +(asdf:operate 'asdf:test-op 'umlisp-orf) + +(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) +