Add :skip support for def-test!
This commit is contained in:
parent
7f2dd52b2e
commit
02c1a78330
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ If neither is available, run all tests in all enabled modules."
|
|||
"Define a namespaced ERT test."
|
||||
(declare (indent defun) (doc-string 2))
|
||||
(unless (plist-get body :disabled)
|
||||
(when (plist-get body :skip)
|
||||
(push '(ert-skip nil) body))
|
||||
`(ert-deftest
|
||||
,(cl-loop with path = (file-relative-name (file-name-sans-extension load-file-name)
|
||||
doom-emacs-dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue