[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Run (some) tests more automagically?
From: |
Phillip Lord |
Subject: |
Re: Run (some) tests more automagically? |
Date: |
Fri, 26 Feb 2021 11:44:45 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Phillip Lord <phillip.lord@russet.org.uk> writes:
>
>> It is supposed to do this. That was the point of moving all the tests to
>> a standard naming scheme in the first place.
>>
>> make check-maybe
>
> Oh! I had no idea; thanks.
It also seems not to be working. It picks up a missing log file and just
regenerates that, which is nice. But it doesn't seem to be picking up an
out-of-date .el dependency. I thought that it did. I will have a poke
when I can find time.
> It is very noisy; though:
>
> ----
> [hundreds of lines like this]:
> make[3]: 'src/undo-tests.log' is up to date.
> make[3]: 'src/xdisp-tests.log' is up to date.
> make[3]: 'src/xfaces-tests.log' is up to date.
> make[3]: 'src/xml-tests.log' is up to date.
> make[3]: Leaving directory '/home/larsi/src/emacs/trunk/test'
>
> SUMMARY OF TEST RESULTS
> -----------------------
> Files examined: 348
> Ran 4738 tests, 4659 results as expected, 0 unexpected, 79 skipped
> make[2]: Leaving directory '/home/larsi/src/emacs/trunk/test'
> make[1]: Leaving directory '/home/larsi/src/emacs/trunk/test'
> ----
>
> Perhaps sticking it in the admin/emake script and doing some filtering
> would be nice...
Having a target that was designed for a .git hook would seem sensible to
me. Something that we would normally expect to run in a second or two.
Phil