added lift-standard.config
[cl-graph.git] / cl-graph-test.asd
index 70ca537..83c980c 100644 (file)
@@ -1,48 +1,44 @@
-;;; -*- Mode: Lisp; package: CL-USER; Syntax: Common-lisp; Base: 10 -*-
-
-#|
-
-|#
+;;; -*- Mode: Lisp; package: cl-user; Syntax: Common-lisp; Base: 10 -*-
 
 (in-package :common-lisp-user)
-(defpackage #:asdf-cl-graph-test (:use #:cl #:asdf))
-(in-package #:asdf-cl-graph-test)
+(defpackage #:cl-graph-test-system (:use #:cl #:asdf))
+(in-package #:cl-graph-test-system)
 
 (defsystem cl-graph-test
-  :version "0.1"
   :author "Gary Warren King <gwking@metabang.com>"
   :maintainer "Gary Warren King <gwking@metabang.com>"
   :licence "MIT Style License"
   :description "Tests for CL-Graph"
-
-  :components ((:module "unit-tests"
-                        :components ((:file "package")
-                                     (:file "test-graph" :depends-on ("package"))
-                                     (:file "test-graph-container" :depends-on ("test-graph"))
-                                     (:file "test-connected-components" :depends-on ("test-graph"))
-                                     (:file "test-graph-metrics" :depends-on ("test-graph"))
-                                     (:file "test-graph-algorithms" :depends-on ("test-graph"))
-                                     ))
+  :components ((:module
+               "setup"
+               :pathname "unit-tests/"
+               :components
+               ((:file "package")
+                (:file "test-graph" :depends-on ("package"))
+                ))
+              (:module 
+               "unit-tests"
+               :pathname "unit-tests/"
+               :depends-on ("setup")
+               :components
+               ((:file "test-graph-container")
+                (:file "test-connected-components")
+                ;;(:file "test-graph-algorithms")
+                (:file "test-api")
+                ))
                
-               (:module "dev"
-                        :components ((:static-file "notes.text"))))
-  
-  :in-order-to ((test-op (load-op cl-graph-test)))
-  :depends-on (cl-graph lift))
-
-;;; ---------------------------------------------------------------------------
-
-(defmethod perform :after ((op test-op ) (c (eql (find-system 'cl-graph-test))))
-  (describe
-   (funcall 
-    (intern (symbol-name '#:run-tests) '#:lift) 
-    :suite (intern (symbol-name '#:cl-graph-test) '#:cl-graph-test))))
-
-;;; ---------------------------------------------------------------------------
-
-(defmethod perform :after ((o load-op) (c (eql (find-system 'cl-graph-test))))
-  )
-
-(defmethod operation-done-p ((o test-op) (c (eql (find-system 'cl-graph-test))))
-  ;; testing is never done...
-  (values nil))
+               (:module 
+               "dev"
+               :components
+               ((:static-file "notes.text"))))
+  :depends-on (:cl-graph :lift))
+
+;; 2008-09-24 - I don't know if this will work or not 
+;; i.e., will it happen at the right time wrt everything else
+#+asdf-system-connections
+(asdf:defsystem-connection cl-graph-test-and-cl-mathstats
+  :requires (cl-graph moptilities)
+  :components ((:module 
+               "unit-tests"
+               :components
+               ((:file "test-graph-metrics")))))