mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-15 09:47:20 +00:00
Fix out-of-tree make check
* test/lisp/custom-tests.el (custom-test-admin-cus-test): New const. (check-for-wrong-custom-types): Use it.
This commit is contained in:
parent
3a3226716b
commit
d58e3b3997
@ -147,9 +147,13 @@
|
|||||||
(widget-apply field :value-to-internal origvalue)
|
(widget-apply field :value-to-internal origvalue)
|
||||||
"bar"))))))
|
"bar"))))))
|
||||||
|
|
||||||
|
(defconst custom-test-admin-cus-test
|
||||||
|
(expand-file-name "admin/cus-test.el" source-directory))
|
||||||
|
|
||||||
(ert-deftest check-for-wrong-custom-types ()
|
(ert-deftest check-for-wrong-custom-types ()
|
||||||
:tags '(:expensive-test)
|
:tags '(:expensive-test)
|
||||||
(load (concat installation-directory "admin/cus-test.el"))
|
(skip-unless (file-readable-p custom-test-admin-cus-test))
|
||||||
|
(load custom-test-admin-cus-test)
|
||||||
(should (null (cus-test-opts t))))
|
(should (null (cus-test-opts t))))
|
||||||
|
|
||||||
;;; custom-tests.el ends here
|
;;; custom-tests.el ends here
|
||||||
|
Loading…
Reference in New Issue
Block a user