Update domain name to kpe.io
[wol.git] / wol.asd
diff --git a/wol.asd b/wol.asd
index 241638b03ac6784913216908acac911472290f06..e75c959be37f886f8b47513f54ca95e836e42db8 100644 (file)
--- a/wol.asd
+++ b/wol.asd
@@ -7,26 +7,27 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  July 2003
 ;;;;
-;;;; $Id: wol.asd,v 1.5 2003/08/05 23:00:28 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file and Wol are Copyright (c) 2003 by Kevin M. Rosenberg
 ;;;; *************************************************************************
 
 (in-package #:cl-user)
 
-#+(or cmu lispworks (and allegro (not common-lisp-controller))) (require :aserve)
+#+(or cmu lispworks sbcl openmcl 
+      (and allegro (not common-lisp-controller))) (require :aserve)
 #+(and allegro common-lisp-controller) (c-l-c::original-require :aserve)
 #+allegro (require :smtp)
 #+allegro (require :phtml)
 #+allegro (require :pxml)
 #+allegro (require :sock)
-#+(and allegro unix) (require :ipc)
+#+(and allegro-v6.2 unix) (require :ipc)
 
 (defpackage #:wol-system (:use #:cl #:asdf))
 (in-package #:wol-system)
 
 (defsystem wol
-    :depends-on (:kmrcl :modlisp :lml2 :hyperobject :base64 :puri
+    :depends-on (kmrcl modlisp lml2 hyperobject cl-base64 puri
                        #-allegro :acl-compat)
     :components
     ((:file "package")
      (: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")))
+