1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
3 (asdf:defsystem :iolib-tests
4 :description "IOLib test suite."
5 :author "Luis Oliveira <loliveira@common-lisp.net>"
7 :depends-on (:io.multiplex :io.streams :net.sockets :fiveam)
8 :pathname (merge-pathnames (make-pathname :directory '(:relative "tests"))
12 (:file "mainsuite" :depends-on ("pkgdcl"))
13 (:file "events" :depends-on ("pkgdcl" "mainsuite"))
14 (:file "streams" :depends-on ("pkgdcl" "mainsuite"))
15 (:file "sockets" :depends-on ("pkgdcl" "mainsuite"))))
17 (defmethod asdf:perform ((o asdf:test-op)
18 (c (eql (asdf:find-system :iolib-tests))))
19 (asdf:operate 'asdf:load-op :iolib-tests)
20 (funcall (intern (symbol-name '#:run!) '#:5am) :iolib))
22 (defmethod asdf:operation-done-p ((o asdf:test-op)
23 (c (eql (asdf:find-system :iolib-tests))))