]> git.eshelyaron.com Git - emacs.git/commit
Don't require bytecomp for running ert tests
authorNoam Postavsky <npostavs@gmail.com>
Wed, 5 Apr 2017 03:48:42 +0000 (23:48 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 23 Apr 2017 03:17:59 +0000 (23:17 -0400)
commitb20d05c6d76ddaf7e70da1430c9aac56ef1d6b31
tree2486e20a7924dd55560c1f2749f011d802a2e3ed
parent5317193fe55d130a456fe0cf06c56f027d617b09
Don't require bytecomp for running ert tests

"Fix ert-tests when running compiled" 2016-12-06 accidentally
introduced a dependency on `bytecomp' into `ert'.  As mentioned in
"Avoid ert test failures" 2017-04-18, the accidental dependency of ert
on bytecomp was masked by loading other libraries until recently.

* lisp/emacs-lisp/ert.el (ert--expand-should-1): Only use
`byte-compile-macro-environment' if it's bound.
* test/src/eval-tests.el: Add defvar for dynamic variable
`byte-compile-debug'.
lisp/emacs-lisp/ert.el
test/src/eval-tests.el