0.pre8.100:
[sbcl.git] / contrib / sb-aclrepl / sb-aclrepl.asd
1 ;;; -*-  Lisp -*-
2
3 (defpackage #:sb-aclrepl-system (:use #:asdf #:cl))
4 (in-package #:sb-aclrepl-system)
5
6 (defsystem sb-aclrepl
7     :author "Kevin Rosenberg <kevin@rosenberg.net>"
8     :description "An AllegroCL compatible REPL"
9     :components ((:file "toplevel")
10                  (:file "repl" :depends-on ("toplevel"))
11                  (:file "inspect" :depends-on ("repl"))
12                  (:file "debug" :depends-on ("repl"))))
13
14 (defmethod perform ((o test-op) (c (eql (find-system :sb-aclrepl))))
15   (oos 'load-op 'sb-aclrepl-tests)
16   (oos 'test-op 'sb-aclrepl-tests))
17
18 (defsystem sb-aclrepl-tests
19     :depends-on (sb-rt)
20     :components ((:file "tests")))
21
22 (defmethod perform ((o test-op) (c (eql (find-system :sb-aclrepl-tests))))
23   (or (funcall (intern "DO-TESTS" (find-package "SB-RT")))
24       (error "test-op failed")))