r5447: *** empty log message ***
[xlunit.git] / xltest.asd
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          xlunit.asd
6 ;;;; Purpose:       ASDF definition file for Xlunit
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Aug 2003
9 ;;;;
10 ;;;; $Id: xltest.asd,v 1.3 2003/08/04 09:50:33 kevin Exp $
11 ;;;; *************************************************************************
12
13 (defpackage #:xlunit-system (:use #:asdf #:cl))
14 (in-package #:xlunit-system)
15
16 (defsystem xlunit
17   :name "xlunit"
18   :author "Kevin Rosenberg based on work by Craig Brozensky"
19   :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
20   :licence "Public domain"
21   :description "Extreme Lisp Testing Suite"
22   :long-description "The XLUNIT package is toolkit for building test suites based on the XPTEST package by Craig Brozensky."
23   
24   :components
25   ((:file "package")
26    (:file "src" :depends-on ("package"))))
27
28 (defmethod perform ((o test-op) (c (eql (find-system 'xlunit))))
29   (oos 'load-op 'xlunit-tests)
30   (oos 'test-op 'xlunit-tests))
31
32 (defsystem xlunit-tests
33   :depends-on (xlunit)
34   :components ((:file "tests")))
35
36 (defmethod perform ((o test-op) (c (eql (find-system 'xlunit-tests))))
37   (or (funcall (intern (symbol-name #:do-tests)
38                        (find-package #:xlunit-tests)))
39       (error "test-op failed")))