source: tags/1.6.1/abcl.asd

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

abcl-build: further fixes to work under the Travis CI

  • Property svn:keywords set to Id
File size: 7.4 KB
Line 
1;;; -*- Mode: LISP; Syntax: COMMON-LISP -*-
2(defsystem abcl
3  :version "1.6.1"
4  :in-order-to ((test-op (test-op "abcl/test/lisp"))))
5
6(defsystem abcl/test/lisp
7  :version "1.6.1"
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.6.1"
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 package :pathname "../cl-bench/"
132                        :components ((:file "defpackage")))
133               (:module wrapper :pathname "test/lisp/cl-bench/"
134                        :depends-on (package) :components
135                        ((:file "wrapper")))))
136(defsystem abcl/documentation
137  :description "Tools to generate LaTeX source from docstrings."
138  :depends-on (swank
139               jss) ;; provided by abcl-contrib
140  :components
141  ((:module package
142            :pathname "doc/manual/" :components ((:file "package")))
143   (:module grovel
144            :depends-on (package)
145            :pathname "doc/manual/"
146            :components ((:file "index" :depends-on (grovel))
147                         (:file "grovel")))))
148
149(defsystem abcl/tools
150  :version "0.2.0"
151  :components (#+(or) ;; TODO Untangle source unit compile time execution
152               (:module grapher
153                        :pathname "tools/"
154                        :components ((:file "code-grapher")))
155               (:module digest
156                        :pathname "tools/"
157                        :components ((:file "digest")))))
158
159#+(or) ;; TODO Untangle source unit compile time execution
160(defsystem abcl/tools/bisect
161  :version "0.1.0"
162  :depends-on (abcl/test/ansi/compiled)
163  :components ((:module bisect
164                        :pathname "tools/"
165                        :components ((:file "check")))))
166
167(defsystem abcl/tools/resource
168  :version "0.1.0"
169  :depends-on (dexador alexandria)
170  :components ((:module http :pathname "tools/"
171                        :components ((:file "resource")))))
172
173(defsystem abcl/model/changes
174  :version "0.1.0"
175  :depends-on (jeannie) ;;; <https://bitbucket.org/easye/jeannie>
176  :components ((:module n3 :pathname "etc/"
177                        :components ((:static-file "changes.n3")
178                                     (:file "changes")))))
179
Note: See TracBrowser for help on using the repository browser.