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