]> git.eshelyaron.com Git - emacs.git/commit
Add ert macros to get resource file names (Bug#43792)
authorStefan Kangas <stefan@marxist.se>
Wed, 23 Sep 2020 21:06:02 +0000 (23:06 +0200)
committerStefan Kangas <stefan@marxist.se>
Fri, 16 Oct 2020 09:18:38 +0000 (11:18 +0200)
commitf52a775ae247419918404e50137e1cf6078bd865
tree786b67c47752b1d923878bf9b859e8b6d8b0d72b
parent96d7e3dcafa8ff8278ddfd503d993264d06616c4
Add ert macros to get resource file names (Bug#43792)

* lisp/emacs-lisp/ert-x.el (subr-x): Require.
(ert-resource-dir, ert-resource-file): New macros to get the file name
of the resource directory belonging to a test.
(ert-resource-dir-format, ert-resource-dir-trim-left-regexp)
(ert-resource-dir-trim-right-regexp): New variables.
lisp/emacs-lisp/ert-x.el