Update testing to use newer ASDF test-op features
[cl-base64.git] / cl-base64.asd
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          cl-base64.asd
6 ;;;; Purpose:       ASDF definition file for Cl-Base64
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Dec 2002
9 ;;;; *************************************************************************
10
11 (in-package #:cl-user)
12 (defpackage #:cl-base64-system (:use #:asdf #:cl))
13 (in-package #:cl-base64-system)
14
15
16 (defsystem cl-base64
17   :name "cl-base64"
18   :author "Kevin M. Rosenberg based on initial code by Juri Pakaste"
19   :version "3.1"
20   :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
21   :licence "BSD-style"
22   :description "Base64 encoding and decoding with URI support."
23   :components
24   ((:file "package")
25    (:file "encode" :depends-on ("package"))
26    (:file "decode" :depends-on ("package"))
27    )
28   :in-order-to ((test-op (test-op "cl-base64/tests"))))
29
30 (defsystem cl-base64/tests
31     :depends-on (cl-base64 ptester kmrcl)
32     :components
33     ((:file "tests"))
34     :perform (test-op (o s)
35                       (or (funcall (intern (symbol-name '#:do-tests)
36                                            (find-package '#:cl-base64-tests)))
37                           (error "test-op failed"))))