r5463: Auto commit for Debian build
[xlunit.git] / xlunit.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: xlunit.asd,v 1.7 2003/08/06 12:22:05 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 "BSD"
21   :description "Extreme Lisp Testing Suite"
22   :long-description "The XLUnit package is toolkit for building test suites. It is based on the XPTest package by Craig Brozensky and the JUnit package by Kent Beck."
23
24   :properties ((#:author-email . "kevin@rosenberg.net")
25                (#:date . "Summer 2003")
26                ((#:albert #:output-dir) . "albert-docs/")
27                ((#:albert #:formats) . ("docbook"))
28                ((#:albert #:docbook #:template) . "book")
29                ((#:albert #:docbook #:bgcolor) . "white")
30                ((#:albert #:docbook #:textcolor) . "black"))
31   
32   :serial t
33   :components
34   ((:file "package")
35    (:file "assert")
36    (:file "tcase")
37    (:file "listener")
38    (:file "result")
39    (:file "suite")
40    (:file "textui")
41    (:file "printer")
42    ))
43
44 (defmethod perform ((o test-op) (c (eql (find-system 'xlunit))))
45   (operate 'load-op 'xlunit-tests :force t)
46   (operate 'test-op 'xlunit-tests :force t))
47
48 (defsystem xlunit-tests
49     :depends-on (xlunit)
50     :components ((:file "tests")))
51
52 (defmethod perform ((o test-op) (c (eql (find-system 'xlunit-tests))))
53   (operate 'load-op 'xlunit-tests)
54   (or (funcall (intern (symbol-name '#:do-tests)
55                        (find-package '#:xlunit-tests)))
56       (error "test-op failed")))
57