X-Git-Url: http://git.kpe.io/?p=puri.git;a=blobdiff_plain;f=puri.asd;h=0e4ea9c52f9de44dd7f2b414e2629d4c5eea2800;hp=1e09b66b1987d26bff6a452e46194a1006ddcbda;hb=HEAD;hpb=9e5b1ca169d5d26c7195643f02325655eec515e2 diff --git a/puri.asd b/puri.asd index 1e09b66..eda4faf 100644 --- a/puri.asd +++ b/puri.asd @@ -6,24 +6,20 @@ (defpackage #:puri-system (:use #:cl #:asdf)) (in-package #:puri-system) - (defsystem puri :name "cl-puri" :maintainer "Kevin M. Rosenberg " :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 (:rt :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"))))