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
10 ;;;; This file, part of UMLisp, is
11 ;;;; Copyright (c) 2000-2010 by Kevin M. Rosenberg, M.D.
13 ;;;; UMLisp users are granted the rights to distribute and use this software
14 ;;;; as governed by the terms of the GNU General Public License.
15 ;;;; *************************************************************************
18 (defpackage #:run-tests (:use #:cl))
19 (in-package #:run-tests)
23 (require 'clsql-mysql)
25 (require 'hyperobject)
27 (load "umlisp-tests.asd")
28 (asdf:operate 'asdf:test-op 'umlisp)
30 (defun quit (&optional (code 0))
31 "Function to exit the Lisp implementation. Copied from CLOCC's QUIT function."
32 #+allegro (excl:exit code)
33 #+clisp (#+lisp=cl ext:quit #-lisp=cl lisp:quit code)
34 #+(or cmu scl) (ext:quit code)
35 #+cormanlisp (win32:exitprocess code)
37 #+lispworks (lw:quit :status code)
38 #+lucid (lcl:quit code)
39 #+sbcl (sb-ext:quit :unix-status (typecase code (number code) (null 0) (t 1)))
41 #-(or allegro clisp cmu scl cormanlisp gcl lispworks lucid sbcl mcl)
42 (error 'not-implemented :proc (list 'quit code)))