1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
3 (asdf:defsystem :iolib-tests
4 :description "IOLib test suite."
5 :author "Luis Oliveira <loliveira@common-lisp.net>"
6 :version (:read-file-form "../version.lisp-expr")
8 :defsystem-depends-on (:iolib.base)
9 :depends-on (:fiveam :iolib :iolib.pathnames)
10 :around-compile "iolib.asdf:compile-wrapper"
13 (:file "defsuites" :depends-on ("pkgdcl"))
14 (:file "base" :depends-on ("pkgdcl" "defsuites"))
15 (:file "file-paths-os" :depends-on ("pkgdcl" "defsuites")
16 :pathname #+unix "file-paths-unix")
17 (:file "events" :depends-on ("pkgdcl" "defsuites"))
18 (:file "streams" :depends-on ("pkgdcl" "defsuites"))
19 (:file "sockets" :depends-on ("pkgdcl" "defsuites"))))
21 (defmethod perform ((o test-op)
22 (c (eql (find-system :iolib-tests))))
23 (operate 'load-op :iolib-tests)
24 (funcall (intern (symbol-name '#:run!) '#:5am) :iolib))
26 (defmethod operation-done-p ((o test-op)
27 (c (eql (find-system :iolib-tests))))