-
Notifications
You must be signed in to change notification settings - Fork 0
/
cl-chan.asd
48 lines (47 loc) · 1.66 KB
/
cl-chan.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
(defsystem "cl-chan"
:version "0.1.0"
:author "Nisen"
:license "BSD"
:depends-on ("bordeaux-threads")
:components ((:module "src"
:components
((:file "packages")
(:file "utils")
(:file "threads")
(:file "queues")
(:file "abstract-channel")
(:file "unbuffered-channel")
(:file "buffered-channel")
(:file "select"))))
:description ""
:in-order-to ((test-op (test-op "cl-chan/tests"))))
(defsystem "cl-chan/tests"
:author "Nisen"
:license "BSD"
:depends-on ("cl-chan"
"fiveam")
:serial t
:components ((:module "tests"
:serial t
:components
((:file "setup-tests")
(:file "channels")
(:file "select")
)))
:description "Test system for cl-chan"
:perform
(test-op (o c)
(format t "~2&*******************~@
** Starting test **~@
*******************~%")
(handler-bind ((style-warning #'muffle-warning))
(symbol-call :cl-chan :run-all-tests))
(format t "~2&*****************************************~@
** Tests finished **~@
*****************************************~@
** If there were any failures, please **~@
** file a bug report on github: **~@
** github.com/imnisen/cl-chan/issues **~@
*****************************************~%"))
;; (test-op (op c) (symbol-call :rove :run c))
)