1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: umlisp -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
5 ;;;; Name: parse-macros.lisp
6 ;;;; Purpose: Macros for UMLS file parsing
7 ;;;; Author: Kevin M. Rosenberg
12 ;;;; This file, part of UMLisp, is
13 ;;;; Copyright (c) 2000-2004 by Kevin M. Rosenberg, M.D.
15 ;;;; UMLisp users are granted the rights to distribute and use this software
16 ;;;; as governed by the terms of the GNU General Public License.
17 ;;;; *************************************************************************
20 (defpackage #:run-tests (:use #:cl))
21 (in-package #:run-tests)
25 (require 'clsql-mysql)
27 (require 'hyperobject)
28 (load "umlisp-orf.asd")
29 (load "umlisp-orf-tests.asd")
30 (asdf:operate 'asdf:test-op 'umlisp-orf)
32 (defun quit (&optional (code 0))
33 "Function to exit the Lisp implementation. Copied from CLOCC's QUIT function."
34 #+allegro (excl:exit code)
35 #+clisp (#+lisp=cl ext:quit #-lisp=cl lisp:quit code)
36 #+(or cmu scl) (ext:quit code)
37 #+cormanlisp (win32:exitprocess code)
39 #+lispworks (lw:quit :status code)
40 #+lucid (lcl:quit code)
41 #+sbcl (sb-ext:quit :unix-status (typecase code (number code) (null 0) (t 1)))
43 #-(or allegro clisp cmu scl cormanlisp gcl lispworks lucid sbcl mcl)
44 (error 'not-implemented :proc (list 'quit code)))