You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code that's being removed here made no sense. It is a `check`
rule, and it did the following things:
1. For every `.el` file it was searching its `tests.el` counterpart.
Which doesn't exist.
2. It was checking the correctness of `declare-function`s. Which would
be fine, wasn't it for the fact the project has zero
`declare-function`s.
3. It was checking that `ert` exists, which it does on all supported
Emacs versions.
4. It was removing .elc files before running the tests. Why? 🤷♂️
Replace everything with a single `test` rule which simply loads the
test files and runs the tests.
Besides being actually useful, this also improves running time as:
Initial state | Before | After |
Non-compiled | 2.177 | 1.614 |
Compiled | 2.182 | 0.340 |
0 commit comments