debian update
[kmrcl.git] / kmrcl.asd
index 153bf6f918ee0705468a386f8c09beace3fe3492..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
      (: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"))))