;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: July 2003
;;;;
-;;;; $Id: wol.asd,v 1.3 2003/07/18 21:34:18 kevin Exp $
+;;;; $Id: wol.asd,v 1.6 2003/08/09 21:42:24 kevin Exp $
;;;;
;;;; This file and Wol are Copyright (c) 2003 by Kevin M. Rosenberg
;;;; *************************************************************************
(in-package #:wol-system)
(defsystem wol
- :depends-on (:kmrcl :modlisp :lml2 :hyperobject :base64
+ :depends-on (:kmrcl :modlisp :lml2 :hyperobject :base64 :puri
#-allegro :acl-compat)
:components
((:file "package")
(:file "sessions" :depends-on ("classes"))
(:file "uri" :depends-on ("classes"))
(: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))
+
+(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")))
+