[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: moving some indentation tests
From: |
Phillip Lord |
Subject: |
Re: moving some indentation tests |
Date: |
Fri, 07 Apr 2017 16:54:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> Any advice?
>
> How about picking up a name of an existing source file that is somehow
> related to the tests?
>
> If that's not good enough, I think we need some new infrastructure for
> this in test/Makefile, e.g. a way of specifying a rule that tells Make
> which source files are prerequisites for the given test file, so that
> when one of the prerequisites changes, the tests are automatically
> run.
The current scheme just uses a heuristic to guess the name of the
prerequisities. Where this doesn't work, there is nothing to prevent
people from adding these by hand, of course. That would be a good thing
in my book. If there is enough commonality, we can add new heuristics to
generate the manual rules.
Phil
- Re: moving some indentation tests, (continued)
- Re: moving some indentation tests, Noam Postavsky, 2017/04/03
- Re: moving some indentation tests, Phillip Lord, 2017/04/03
- Re: moving some indentation tests, Noam Postavsky, 2017/04/03
- Re: moving some indentation tests, Phillip Lord, 2017/04/07
- Re: moving some indentation tests, Noam Postavsky, 2017/04/07
Re: moving some indentation tests, Tom Tromey, 2017/04/05