]> git.eshelyaron.com Git - emacs.git/commit
Better compiler warning tests
authorMattias Engdegård <mattiase@acm.org>
Fri, 9 Apr 2021 16:49:16 +0000 (18:49 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 9 Apr 2021 17:20:55 +0000 (19:20 +0200)
commitb7a7e879d02570cbf74aa87686b6b0ed4e6b0c3b
tree0eaa74f4818c97c413aeb2e66a96d858bf417b9a
parenta2a7cfde29aa71f9ea503b8dc467d694f6e5b69f
Better compiler warning tests

These changes allow all bytecomp-tests to be run interactively.

* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp--with-warning-test)
(bytecomp--define-warning-file-test): Interpret any space in the
pattern as arbitrary whitespace to tolerate line breaks.
Don't abuse the expected-failure mechanism when checking
for the expected absense of a warning.
(bytecomp/*.el): Rewrite patterns to work with line breaks
in the middle.
test/lisp/emacs-lisp/bytecomp-tests.el