debian update
[kmrcl.git] / kmrcl.asd
index d16bfe9976e2d124f330430cdf8b9f95a1032266..0150ed65ab60af75361fe77bc3a0d2b361723bee 100644 (file)
--- a/kmrcl.asd
+++ b/kmrcl.asd
@@ -7,8 +7,6 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Apr 2000
 ;;;;
-;;;; $Id$
-;;;;
 ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
 ;;;; KMRCL users are granted the rights to distribute and use this software
 (defpackage #:kmrcl-system (:use #:asdf #:cl))
 (in-package #:kmrcl-system)
 
-#+(or allegro cmu lispworks sbcl scl openmcl)
+#+(or allegro cmu clisp lispworks sbcl scl openmcl)
 (pushnew :kmr-mop cl:*features*)
 
 (defsystem kmrcl
     :name "kmrcl"
     :author "Kevin M. Rosenberg <kevin@rosenberg.net>"
-    :version "1.31+"
     :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
     :licence "LLGPL"
-
-    :components 
+    :depends-on (#+sbcl sb-posix)
+    :components
     ((:file "package")
      (:file "ifstar" :depends-on ("package"))
      (:file "byte-stream" :depends-on ("package"))
@@ -38,7 +35,7 @@
      (:file "functions" :depends-on ("macros"))
      (:file "lists" :depends-on ("macros"))
      (:file "seqs" :depends-on ("macros"))
-     (:file "impl" :depends-on ("macros")) 
+     (:file "impl" :depends-on ("macros"))
      (:file "io" :depends-on ("macros" "impl"))
      (:file "console" :depends-on ("macros"))
      (:file "strings" :depends-on ("macros" "seqs"))
      (:file "listener" :depends-on ("sockets" "processes" "console"))
      (:file "repl" :depends-on ("listener" "strings"))
      (:file "os" :depends-on ("macros" "impl"))
-     ))
+     (:file "signals" :depends-on ("package"))
+     (:file "btree" :depends-on ("macros"))
+     (:file "hash" :depends-on ("macros")))
+    :in-order-to ((test-op (test-op "kmrcl/test"))))
 
-(defmethod perform ((o test-op) (c (eql (find-system 'kmrcl))))
-  (operate 'load-op 'kmrcl-tests)
-  (operate 'test-op 'kmrcl-tests :force t))
 
+(defsystem kmrcl/test
+    :depends-on (:rt :kmrcl)
+    :components
+    ((:file "tests"))
+    :perform (test-op (o s)
+                      (or (funcall (intern (symbol-name '#:do-tests)
+                                          (find-package '#:regression-test)))
+                          (error "test-op failed"))))