X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=wol.asd;h=e4ab74854e5f51bdc567050f731db9cc5b9be72e;hb=0c0d2b88b9c35f1da0f62566768ccc0b6a4c7aa2;hp=241638b03ac6784913216908acac911472290f06;hpb=ad10f85ccddf4cdc4fdabe5bc28622975338d552;p=wol.git diff --git a/wol.asd b/wol.asd index 241638b..e4ab748 100644 --- a/wol.asd +++ b/wol.asd @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: July 2003 ;;;; -;;;; $Id: wol.asd,v 1.5 2003/08/05 23:00:28 kevin Exp $ +;;;; $Id: wol.asd,v 1.7 2003/08/10 05:16:52 kevin Exp $ ;;;; ;;;; This file and Wol are Copyright (c) 2003 by Kevin M. Rosenberg ;;;; ************************************************************************* @@ -40,3 +40,18 @@ (:file "log" :depends-on ("classes")) (:file "color-picker" :depends-on ("package")) )) + +(defmethod perform ((o test-op) (c (eql (find-system 'wol)))) + (operate 'load-op 'wol-tests) + (operate 'test-op 'wol-tests :force t)) + +(defsystem wol-tests + :depends-on (wol xlunit) + :components ((:file "tests"))) + +(defmethod perform ((o test-op) (c (eql (find-system 'wol-tests)))) + (operate 'load-op 'wol-tests) + (or (funcall (intern (symbol-name '#:do-tests) + (find-package '#:wol-tests))) + (error "test-op failed"))) +