blob: 937051a8c59c77e14c9b0ea508dd68e98fa67be9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/env emacs --script
(let ((current-directory (file-name-directory load-file-name)))
(setq cider-test-path (expand-file-name "." current-directory))
(setq cider-root-path (expand-file-name ".." current-directory)))
(add-to-list 'load-path cider-root-path)
(add-to-list 'load-path cider-test-path)
(require 'cider)
(require 'cl)
(dolist (test-file (or argv (directory-files cider-test-path t "-tests.el$")))
(load test-file nil t))
;; run tests
(ert-run-tests-batch-and-exit t)
|