ecl/src/tests/doit.lsp
Daniel Kochmański 085fee3d3b Simplify tests structure
Also "make check" accepts TESTS argument for test suite. For instance:

make check TESTS=ffi

will run FFI tests suite.
2016-11-17 22:35:37 +01:00

13 lines
435 B
Common Lisp

(in-package #:common-lisp-user)
(eval-when (:compile-toplevel :load-toplevel :execute)
(require :asdf)
(require :package-locks))
(let ((cache (merge-pathnames "./cache/" *default-pathname-defaults*)))
(ensure-directories-exist cache)
(setf asdf:*user-cache* cache)
(asdf:load-asd (merge-pathnames "ecl-tests.asd" *load-pathname*)))
(asdf:operate 'asdf:load-source-op 'ecl-tests)
#+ (or) (2am-ecl:run 'cl-test::make-check)