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 (:iolib :fiveam)
8 :pathname (merge-pathnames (make-pathname :directory '(:relative "tests"))
12 (:file "mainsuite" :depends-on ("pkgdcl"))
13 (:file "base" :depends-on ("pkgdcl" "mainsuite"))
14 (:file "events" :depends-on ("pkgdcl" "mainsuite"))
15 (:file "streams" :depends-on ("pkgdcl" "mainsuite"))
16 (:file "sockets" :depends-on ("pkgdcl" "mainsuite"))))
18 (defmethod asdf:perform ((o asdf:test-op)
19 (c (eql (asdf:find-system :iolib-tests))))
20 (asdf:operate 'asdf:load-op :iolib-tests)
21 (funcall (intern (symbol-name '#:run!) '#:5am) :iolib))
23 (defmethod asdf:operation-done-p ((o asdf:test-op)
24 (c (eql (asdf:find-system :iolib-tests))))