forked from zkat/chanl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chanl.asd
71 lines (68 loc) · 2.41 KB
/
chanl.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
;;;; -*- Mode: lisp; indent-tabs-mode: nil -*-
;;;;
;;;; Copyright © 2009 Kat Marchan, Adlai Chandrasekhar
;;;;
;;;; Another System Definition
;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defsystem "chanl"
:name "chanl"
:author "Kat Marchan"
:description "Communicating Sequential Process support for Common Lisp"
:depends-on ("bordeaux-threads")
:components
((:module "src"
:serial t
:components ((:file "trivial-cas")
(:file "package")
(:file "utils")
(:file "threads")
(:file "queues")
(:file "channels")
(:file "select"))))
:in-order-to ((test-op (test-op "chanl/tests"))))
(defsystem "chanl/examples"
:name "chanl examples"
:maintainer "Adlai Chandrasekhar"
:author "Kat Marchan"
:description "Examples of how to use chanl"
:depends-on ("chanl")
:serial t
:components
((:module "examples"
:serial t
:components ((:file "package")
(:file "utils")
;; (cerror "READ THE CODE")(:file "actors")
;; (cerror "FIXME") (:file "actors-tests")
(:file "conditions")
(:file "sieve")
(:file "futures")))))
(defsystem "chanl/tests"
:name "chanl tests"
:maintainer "Adlai Chandrasekhar"
:description "Unit Tests for the ChanL library and its examples"
:depends-on ("chanl" "fiveam")
:serial t
:components
((:module "tests"
:serial t
:components ((:file "setup-tests")
(:file "deadlock")
(:file "queues")
(:file "channels")
(:file "select"))))
:perform
(test-op (o c)
(format t "~2&*******************~@
** Starting test **~@
*******************~%")
(handler-bind ((style-warning #'muffle-warning))
(symbol-call :chanl :run-all-tests))
(format t "~2&*****************************************~@
** Tests finished **~@
*****************************************~@
** If there were any failures, please **~@
** file a bugreport on github: **~@
** github.com/zkat/chanl/issues **~@
*****************************************~%")))