source: tags/1.7.0/abcl.asd

Last change on this file was 15312, checked in by Mark Evenson, 4 years ago

1.7.0: release metadata

  • Property svn:keywords set to Id
File size: 7.2 KB
Line 
1;;; -*- Mode: LISP; Syntax: COMMON-LISP -*-
2(defsystem abcl
3  :version "1.7.0"
4  :in-order-to ((test-op (test-op "abcl/test/lisp"))))
5
6(defsystem abcl/test/lisp
7  :version "1.7.0"
8  :description "Test ABCL with the its own collection of unit tests."
9  :perform  (test-op (o s)
10                     (uiop:symbol-call :abcl.test.lisp '#:run))
11  :components ((:module abcl-rt
12                        :pathname "test/lisp/abcl/" :serial t :components
13                        ((:file "rt-package")
14                         (:file "rt")
15                         (:file "test-utilities")))
16               (:module package  :depends-on (abcl-rt)
17                        :pathname "test/lisp/abcl/" :components
18                        ((:file "package")))
19               (:module test :depends-on (package)
20                        :pathname "test/lisp/abcl/" :components
21                        ((:file "utilities")
22                         (:file "compiler-tests")
23                         (:file "condition-tests")
24                         #+abcl
25                         (:file "class-file")
26                         #+abcl
27                         (:file "metaclass")
28                         #+abcl
29                         (:file "mop-tests-setup")
30                         #+abcl
31                         (:file "mop-tests"
32                                :depends-on ("mop-tests-setup"))
33                         (:file "clos-tests")
34                         (:file "file-system-tests")
35                         #+abcl
36                         (:file "jar-pathname"
37                                :depends-on ("utilities" "pathname-tests" "file-system-tests"))
38                         #+abcl
39                         (:file "url-pathname")
40                         (:file "math-tests"
41                                :depends-on ("compiler-tests"))
42                         (:file "misc-tests")
43                         (:file "latin1-tests")
44                         (:file "bugs" :depends-on
45                                ("file-system-tests"))
46                         (:file "wild-pathnames"
47                                :depends-on ("file-system-tests"))
48                         #+abcl
49                         (:file "weak-hash-tables")
50                         #+abcl
51                         (:file "zip")
52                         #+abcl
53                         (:file "java")
54                         #+abcl
55                         (:file "pathname-tests" :depends-on
56                                ("utilities"))
57                         #+abcl
58                         (:file "runtime-class")
59                         #+abcl
60                         (:file "package-local-nicknames-tests")))))
61
62;;; FIXME Currently requires ACBL-CONTRIB and QUICKLISP-ABCL to be
63;;; loaded, but can't seem to put in the :defsystem-depends-on stanza
64(defsystem abcl/t
65  :description "DEPRECATED tests for ABCL via PROVE see ABCL-PROVE."
66  :version "1.7.0"
67  :perform
68    (asdf:test-op (op c)
69       (ql:quickload :abcl-prove)
70       (asdf:load-system :abcl-prove)
71       (asdf:test-system :abcl-prove/t)))
72
73;;;
74;;; ASDF definitions and the ANSI-TEST suite
75;;;
76;;; Below refer to the ANSI-TEST source tree, which isn't included as
77;;; part of ABCL, but may be obtained at
78;;; <git+https://gitlab.common-lisp.net/ansi-test/ansi-test.git>
79;;; For the 'abcl/test/ansi/*' definitions to work, we require that
80;;; the ANSI-TEST to be in a sibling directory named "ansi-tests"
81;;; which should be manually synced with the contents of the SVN
82;;; repository listed above.
83;;; The ABCL.TEST.ANSI defines a function VERIFY-ANSI-TESTS to check
84;;; whether the test suite is present, which provides a more useful
85;;; diagnostic, but I can't seem to find a way to hook this into the
86;;; ASDF:LOAD-OP phase.
87(defsystem abcl/ansi-rt
88  :description "Enapsulation of the REGRESSION-TEST framework used by ~
89the ANSI test suite, so that we may build on its 'API'.
90
91Requires that the contents of <git+https://gitlab.common-lisp.net/ansi-test/ansi-test.git> ~
92be in a directory named '../ansi-test/'."
93  :pathname "../ansi-test/" ;;; NB works when loaded from ASDF but not with a naked EVAL
94  :default-component-class cl-source-file.lsp
95  :components ((:file "rt-package")
96               (:file "rt" :depends-on (rt-package))))
97
98(defsystem abcl/test/ansi
99  :depends-on (abcl/ansi-rt)
100  :components
101  ((:module ansi-tests :pathname "test/lisp/ansi/" :components
102            ((:file "packages")
103             (:file "abcl-ansi" :depends-on ("packages"))
104             (:file "parse-ansi-errors" :depends-on ("abcl-ansi"))))))
105
106(defsystem abcl/test/ansi/interpreted
107  :version "1.2"
108  :description "Test ABCL with the interpreted ANSI tests."
109  :depends-on (abcl/test/ansi)
110  :perform (test-op (o s)
111                    (uiop:symbol-call :abcl.test.ansi 'run :compile-tests nil)))
112 
113(defsystem abcl/test/ansi/compiled
114  :version "1.2"
115  :description "Test ABCL with the compiled ANSI tests."
116  :depends-on (abcl/test/ansi)
117  :perform (test-op (o s)
118                    (uiop:symbol-call :abcl.test.ansi 'run :compile-tests t))
119  :components ((:module ansi-tests
120                        :pathname "test/lisp/ansi/"
121                        :components ((:file "packages")
122                                     (:file "abcl-ansi"
123                                            :depends-on ("packages"))
124                                     (:file "parse-ansi-errors"
125                                            :depends-on ("abcl-ansi"))))))
126
127(defsystem abcl/test/cl-bench
128  :description "Test ABCL with CL-BENCH."
129  :perform (test-op (o s)
130                    (uiop:symbol-call :abcl.test.cl-bench 'run))
131  :components ((:module wrapper :pathname "test/lisp/cl-bench/"
132                :components ((:file "wrapper")))))
133
134(defsystem abcl/documentation
135  :description "Tools to generate LaTeX source from docstrings."
136  :depends-on (swank
137               jss) ;; provided by abcl-contrib
138  :components
139  ((:module package
140            :pathname "doc/manual/" :components ((:file "package")))
141   (:module grovel
142            :depends-on (package)
143            :pathname "doc/manual/"
144            :components ((:file "index" :depends-on (grovel))
145                         (:file "grovel")))))
146
147(defsystem abcl/tools
148  :version "0.2.0"
149  :components (#+(or) ;; TODO Untangle source unit compile time execution
150               (:module grapher
151                        :pathname "tools/"
152                        :components ((:file "code-grapher")))
153               (:module digest
154                        :pathname "tools/"
155                        :components ((:file "digest")))))
156
157#+(or) ;; TODO Untangle source unit compile time execution
158(defsystem abcl/tools/bisect
159  :version "0.1.0"
160  :depends-on (abcl/test/ansi/compiled)
161  :components ((:module bisect
162                        :pathname "tools/"
163                        :components ((:file "check")))))
164
165(defsystem abcl/tools/resource
166  :version "0.1.0"
167  :depends-on (dexador alexandria)
168  :components ((:module http :pathname "tools/"
169                        :components ((:file "resource")))))
170
171(defsystem abcl/model/changes
172  :version "0.1.0"
173  :depends-on (jeannie) ;;; <https://bitbucket.org/easye/jeannie>
174  :components ((:module n3 :pathname "etc/"
175                        :components ((:static-file "changes.n3")
176                                     (:file "changes")))))
177
Note: See TracBrowser for help on using the repository browser.