X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-simple-streams%2Fsb-simple-streams.asd;h=e22e85bc0430ab0f2461830e5efecfbc2e813bce;hb=3eedd5a020356291b2c1c2e426ef9fc7dd5928d9;hp=a652c3bfbfdee03b9d1f15411b140cff6345479b;hpb=ac85367426b222612311c5cf7b061ff89c64d825;p=sbcl.git diff --git a/contrib/sb-simple-streams/sb-simple-streams.asd b/contrib/sb-simple-streams/sb-simple-streams.asd index a652c3b..e22e85b 100644 --- a/contrib/sb-simple-streams/sb-simple-streams.asd +++ b/contrib/sb-simple-streams/sb-simple-streams.asd @@ -7,14 +7,13 @@ (defsystem sb-simple-streams - :depends-on (sb-rt sb-grovel) + :depends-on (sb-grovel sb-bsd-sockets) :components ((:file "package") (:file "fndb") (grovel-constants-file "constants" :package :sb-simple-streams :pathname "constants.lisp" :depends-on ("package")) - ;; (:file "stuff_grovelled_from_headers") (:file "unix" :depends-on ("constants")) ;;(:file "pcl") ;;(:file "ext-format" :depends-on ("package")) @@ -25,10 +24,23 @@ (:file "simple-streams" :depends-on ("cl" "strategy" "unix")) ;;(:file "gray-compat" :depends-on ("package")) ;;(:file "iodefs" :depends-on ("package")) - (:file "simple-stream-tests" :depends-on ("simple-streams")) )) +(defmethod perform :after ((o load-op) + (c (eql (find-system :sb-simple-streams)))) + (provide 'sb-simple-streams)) + (defmethod perform ((o test-op) (c (eql (find-system :sb-simple-streams)))) + (operate 'load-op 'sb-simple-streams-tests) + (operate 'test-op 'sb-simple-streams-tests)) + + +(defsystem sb-simple-streams-tests + :depends-on (sb-rt sb-simple-streams) + :components ((:file "simple-stream-tests"))) + +(defmethod perform ((o test-op) + (c (eql (find-system :sb-simple-streams-tests)))) (or (funcall (intern "DO-TESTS" (find-package "SB-RT"))) (error "test-op failed")))