1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
5 ;;;; Name: run-tests.lisp
6 ;;;; Purpose: Regression suite for hyperobject
7 ;;;; Programmer: Kevin M. Rosenberg
8 ;;;; Date Started: Apr 2000
12 ;;;; This file is Copyright (c) 2000-2003 by Kevin M. Rosenberg
13 ;;;; *************************************************************************
15 (defpackage #:run-tests (:use #:cl))
16 (in-package #:run-tests)
21 (load "hyperobject.asd")
22 (load "hyperobject-tests.asd")
23 (asdf:oos 'asdf:test-op 'hyperobject)
25 (defun quit (&optional (code 0))
26 "Function to exit the Lisp implementation. Copied from CLOCC's QUIT function."
27 #+allegro (excl:exit code)
28 #+clisp (#+lisp=cl ext:quit #-lisp=cl lisp:quit code)
29 #+(or cmu scl) (ext:quit code)
30 #+cormanlisp (win32:exitprocess code)
32 #+lispworks (lw:quit :status code)
33 #+lucid (lcl:quit code)
34 #+sbcl (sb-ext:quit :unix-status (typecase code (number code) (null 0) (t 1)))
36 #-(or allegro clisp cmu scl cormanlisp gcl lispworks lucid sbcl mcl)
37 (error 'not-implemented :proc (list 'quit code)))