File: cl-photo-tests.asd

package info (click to toggle)
cl-photo 0.14-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 116 kB
  • ctags: 66
  • sloc: lisp: 739; makefile: 49; sh: 28
file content (28 lines) | stat: -rw-r--r-- 894 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name:          cl-photo-tests.asd
;;;; Purpose:       ASDF system definitionf for cl-photo testing package
;;;; Author:        Kevin M. Rosenberg
;;;; Date Started:  Apr 2003
;;;;
;;;; $Id$
;;;; *************************************************************************

(defpackage #:cl-photo-tests-system
  (:use #:asdf #:cl))
(in-package #:cl-photo-tests-system)

(operate 'load-op 'cl-photo)


(defsystem cl-photo-tests
    :depends-on (cl-photo rt)
    :components ((:file "tests")))

(defmethod perform ((o test-op) (c (eql (find-system :cl-photo-tests))))
  (operate 'load-op 'cl-photo)
  (or (funcall (intern (symbol-name '#:do-tests)
		       (find-package '#:regression-test)))
      (error "test-op failed")))