]> git.eshelyaron.com Git - emacs.git/commit
Clean up bytecomp-tests.el
authorMattias Engdegård <mattiase@acm.org>
Fri, 9 Apr 2021 16:42:12 +0000 (18:42 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 9 Apr 2021 17:20:54 +0000 (19:20 +0200)
commita2a7cfde29aa71f9ea503b8dc467d694f6e5b69f
treed9da881eaead51b151e1e60c93c8c8b978d55924
parent40db60563c6b259e1208b6931f0a343849026814
Clean up bytecomp-tests.el

Now all test cases are run with both lexical and dynamic binding
where applicable, comparing interpreted against compiled results.
Previously, almost all tests were only run with dynamic binding
which was definitely not intended.

* test/lisp/emacs-lisp/bytecomp-tests.el
(byte-opt-testsuite-arith-data): Rename to bytecomp-tests--test-cases.
(bytecomp-check-1, bytecomp-explain-1, bytecomp-tests)
(bytecomp-lexbind-tests, bytecomp-lexbind-check-1)
(bytecomp-lexbind-explain-1): Remove.
(bytecomp-tests--eval-interpreted, bytecomp-tests--eval-compiled)
(bytecomp-tests-lexbind, bytecomp-tests-dynbind)
(bytecomp-tests--test-cases-lexbind-only): New.
test/lisp/emacs-lisp/bytecomp-tests.el