mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-23 22:20:24 -08:00
Clean up temp files after some tests
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--with-temp-file): Also delete .elc file if present. * test/lisp/progmodes/etags-tests.el (etags-buffer-local-tags-table-list): Delete temp file at end.
This commit is contained in:
parent
5ba4c7d16b
commit
4fe9a9efcf
2 changed files with 18 additions and 13 deletions
|
|
@ -512,7 +512,9 @@ bytecompiled code, and their results compared.")
|
|||
`(let ((,file-name-var (make-temp-file "emacs")))
|
||||
(unwind-protect
|
||||
(progn ,@body)
|
||||
(delete-file ,file-name-var))))
|
||||
(delete-file ,file-name-var)
|
||||
(let ((elc (concat ,file-name-var ".elc")))
|
||||
(if (file-exists-p elc) (delete-file elc))))))
|
||||
|
||||
(ert-deftest bytecomp-tests--unescaped-char-literals ()
|
||||
"Check that byte compiling warns about unescaped character
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue