Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement testing with existing tests
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 | 0.340 | Compiled | 2.182 | 1.614 |
- Loading branch information