X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-aclrepl%2Fsb-aclrepl.asd;h=9c316633684566394c8fbfc52ddc49ff4ea6b986;hb=ecfd159f29d31d2cc08d4e5598346c04c9387636;hp=671a2b8a6e5be465fc9d7a4b63da7a2d286f5dc4;hpb=817c3cebd6f76bf5393f0249a744a234614bbe4d;p=sbcl.git diff --git a/contrib/sb-aclrepl/sb-aclrepl.asd b/contrib/sb-aclrepl/sb-aclrepl.asd index 671a2b8..9c31663 100644 --- a/contrib/sb-aclrepl/sb-aclrepl.asd +++ b/contrib/sb-aclrepl/sb-aclrepl.asd @@ -4,12 +4,26 @@ (in-package #:sb-aclrepl-system) (defsystem sb-aclrepl - :version "0.5" - :components ((:file "repl") - (:file "inspect" :depends-on ("repl")))) + :author "Kevin Rosenberg " + :description "An AllegroCL compatible REPL" + #+sb-building-contrib :pathname + #+sb-building-contrib #p"SYS:CONTRIB;SB-ACLREPL;" + :components ((:file "toplevel") + (:file "repl" :depends-on ("toplevel")) + (:file "inspect" :depends-on ("repl")) + (:file "debug" :depends-on ("repl")))) - -;; FIXME - test for successful compilation of sb-aclrepl +(defmethod perform :after ((o load-op) (c (eql (find-system :sb-aclrepl)))) + (provide 'sb-aclrepl)) (defmethod perform ((o test-op) (c (eql (find-system :sb-aclrepl)))) - t) + (oos 'load-op 'sb-aclrepl-tests) + (oos 'test-op 'sb-aclrepl-tests)) + +(defsystem sb-aclrepl-tests + :depends-on (sb-rt) + :components ((:file "tests"))) + +(defmethod perform ((o test-op) (c (eql (find-system :sb-aclrepl-tests)))) + (or (funcall (intern "DO-TESTS" (find-package "SB-RT"))) + (error "test-op failed")))