Treat oni-module.el as oni-module when looking for tests
This commit is contained in:
parent
1e28d8a237
commit
74d0211b53
1 changed files with 4 additions and 2 deletions
|
@ -25,10 +25,12 @@
|
||||||
("script" . ,(format "make integration-test-%s TEST_ARCHIVE=$(realpath bin/)" module))))
|
("script" . ,(format "make integration-test-%s TEST_ARCHIVE=$(realpath bin/)" module))))
|
||||||
|
|
||||||
(defun unit-test-exists-p (module)
|
(defun unit-test-exists-p (module)
|
||||||
(file-exists-p (format "test/%s-test.el" module)))
|
(file-exists-p
|
||||||
|
(format "test/%s-test.el" (string-remove-suffix ".el" module))))
|
||||||
|
|
||||||
(defun integration-test-exists-p (module)
|
(defun integration-test-exists-p (module)
|
||||||
(file-exists-p (format "test/integration/%s.bats" module)))
|
(file-exists-p
|
||||||
|
(format "test/integration/%s.bats" (string-remove-suffix ".el" module))))
|
||||||
|
|
||||||
(defun alist-p (lst)
|
(defun alist-p (lst)
|
||||||
(and (listp lst)
|
(and (listp lst)
|
||||||
|
|
Loading…
Reference in a new issue