[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Run (some) tests more automagically?
From: |
Lars Ingebrigtsen |
Subject: |
Re: Run (some) tests more automagically? |
Date: |
Sun, 21 Feb 2021 16:57:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> So here's today's not-thought-out-at-all idea: Since tests for
>> lisp/foo.el live in test/lisp/foo-tests.el, could we add some Makefile
>> magic to automatically run foo-tests.el if lisp/foo.el has been changed?
>
> We need to run every test that uses any function in foo.el, not just
> foo-tests.el.
Of course. This would just be a 93% solution, like I think I said? But
it might be worth it if it's so efficient that it becomes a part of our
normal work flow.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no