]> git.notmuchmail.org Git - notmuch/commit
test: minimize impact of native compilation.
authorDavid Bremner <david@tethera.net>
Sat, 26 Aug 2023 10:45:36 +0000 (07:45 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 26 Aug 2023 10:45:36 +0000 (07:45 -0300)
commit115d4d69ebbab213baae672ac4e81947877f364b
tree2af8b9e31f573995a765183f94b0f5a1b4274a1d
parent8c8fda965f17e90046de51743c8d545653085697
test: minimize impact of native compilation.

Native compilation is kindof useless in the test suite because we
throw away the cache after every subtest.  The test suite could in
principle share an eln cache within a given test file; for now try to
minimize the amount of native-compilation. There is an intermittent
bug where emacs loses track of its default-directory; I suspect (but
have no proof) that bug is related to native compilation and/or race
conditions. This patch seems to prevent that bug (or at least reduce
its frequency).
test/test-lib.el