]> git.eshelyaron.com Git - emacs.git/commit
Tweak a failing custom test
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 20 Aug 2021 00:32:02 +0000 (02:32 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 20 Aug 2021 00:32:02 +0000 (02:32 +0200)
commitf804248b4fd5245443e3ace916d1b96261ca4ce0
treee19822027c4a1a0c096e0f0b31fc7bb3f891b6eb
parentfb81c8c3adf8633f2f617c82f6019aef630860c7
Tweak a failing custom test

* test/lisp/custom-tests.el (custom-tests-require-theme): Fix a
native-comp-related test failure.

In this test, we set load-path to nil, and under native-comp some of
the tests want to give a warning:

Warning (comp): Cannot look-up eln file as no source file was
found for /tmp/custom-tests-bfdbkW/custom-tests--d.elc

But we can't load warning.el after setting load-path to nil, so
require it first.
test/lisp/custom-tests.el