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