-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmlisp-test.asd
More file actions
33 lines (31 loc) · 1.31 KB
/
Copy pathmlisp-test.asd
File metadata and controls
33 lines (31 loc) · 1.31 KB
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
;;;; mlisp-test.asd — ASDF test system for mlisp
;;;;
;;;; Primary BDD/unit testing via FiveAM.
;;;; Suites:
;;;; mlisp-tests::mlisp-suite (53 specs) — core logic
;;;; mlisp-mime-tests::mime-suite (25 specs) — MIME processing
;;;;
;;;; Run via: (asdf:test-system :mlisp)
;;;; -or- make test-unit
;;;; In CI: 40ants/run-tests with asdf-system: mlisp
;;;;
;;;; Both test files normally call (sb-ext:exit) after running their
;;;; suite, for standalone `sbcl --load` invocation. When loaded via
;;;; this test-op, CL-USER::*MLISP-TEST-NO-EXIT* is bound to T first,
;;;; so each file signals an ERROR on failure instead of exiting --
;;;; allowing both files to load (and both suites to run, 78 specs
;;;; total) within a single SBCL process.
(defsystem "mlisp-test"
:description "FiveAM unit/BDD test suite for mlisp (core + MIME)"
:author "Dwight Spencer <denzuko@dapla.net>"
:license "BSD-2-Clause"
:version "0.8.0"
:depends-on ("mlisp" "fiveam")
:perform (test-op (op system)
(declare (ignore op))
(let ((cl-user::*mlisp-test-no-exit* t)
(root (asdf:system-source-directory system)))
(declare (special cl-user::*mlisp-test-no-exit*))
(dolist (f '("test/fiveam/test-mlisp.lisp"
"test/fiveam/test-mlisp-mime.lisp"))
(load (merge-pathnames f root))))))