[FFe] Implement support for "buttercup_eval"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dh-elpa (Debian) |
New
|
Unknown
|
|||
dh-elpa (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
dh-elpa supports the "ert_eval" directive inside d/elpa-test, which allows the package to provide custom Elisp code to be executed before ERT is invoked. Unfortunately, a similar feature is missing for buttercup tests. This means that, whenever a package uses buttercup to run its tests, the maintainer needs to override dh_elpa_test and invoke buttercup by hand. This, however, only works during build time; dh-elpa is also used to run autopkgtest, and in that specific scenario it's not possible to execute custom Elisp code using buttercup at all.
Why is this important, you might ask. Well, I've been investigating a bug in Emacs 28.2's native compilation mechanism which affects a bunch of packages (see bug #2006963 for more details). One of those affected packages is flycheck, which uses buttercup. I uploaded a fix for a flycheck FTBFS which addresses the problem, but the package still fails its autopkgtest because of the problem mentioned above.
Long story short, I've implemented the support for a new dh-elpa directive called "buttercup_eval" and would like it to Lunar. I also proposed the feature to Debian here: https:/
Changed in dh-elpa (Debian): | |
status: | Unknown → New |
debdiff containing the proposed change.