(defpackage #:puri-system (:use #:cl #:asdf))
(in-package #:puri-system)
-
(defsystem puri
:name "cl-puri"
:maintainer "Kevin M. Rosenberg <kmr@debian.org>"
:licence "GNU Lesser General Public License"
:description "Portable Universal Resource Indentifier Library"
:components
- ((:file "src")))
-
-(defmethod perform ((o test-op) (c (eql (find-system 'puri))))
- (oos 'load-op 'puri-tests)
- (oos 'test-op 'puri-tests))
+ ((:file "src"))
+ :in-order-to ((test-op (test-op "puri/test"))))
-(defsystem puri-tests
- :depends-on (:puri :tester)
+(defsystem puri/test
+ :depends-on (:ptester :puri)
:components
- ((:file "tests")))
-
-(defmethod perform ((o test-op) (c (eql (find-system 'puri-tests))))
- (or (funcall (intern (symbol-name '#:do-tests) (find-package :rt)))
- (error "test-op failed")))
+ ((:file "tests"))
+ :perform (test-op (o s)
+ (or (funcall (intern (symbol-name '#:do-tests)
+ (find-package '#:puri/test)))
+ (error "test-op failed"))))