Updates for new debian standards
[umlisp.git] / run-tests.lisp
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: umlisp -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:     parse-macros.lisp
6 ;;;; Purpose:  Macros for UMLS file parsing
7 ;;;; Author:   Kevin M. Rosenberg
8 ;;;; Created:  Apr 2000
9 ;;;;
10 ;;;; $Id$
11 ;;;;
12 ;;;; This file, part of UMLisp, is
13 ;;;;    Copyright (c) 2000-2006 by Kevin M. Rosenberg, M.D.
14 ;;;;
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 ;;;; *************************************************************************
18
19
20 (defpackage #:run-tests (:use #:cl))
21 (in-package #:run-tests)
22
23 (require 'rt)
24 (require 'kmrcl)
25 (require 'clsql-mysql)
26 (require 'clsql)
27 (require 'hyperobject)
28 (load "umlisp.asd")
29 (load "umlisp-tests.asd")
30 (asdf:operate 'asdf:test-op 'umlisp)
31
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)
38     #+gcl (lisp:bye 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)))
42     #+mcl (ccl:quit code)
43     #-(or allegro clisp cmu scl cormanlisp gcl lispworks lucid sbcl mcl)
44     (error 'not-implemented :proc (list 'quit code)))
45
46 (quit)
47