ctests: How to protect against tests accidentally being ignored? i.e., ctest -N changing

Kornel Benko kornel at lyx.org
Thu Nov 26 17:30:10 UTC 2020


Am Thu, 26 Nov 2020 12:13:56 -0500
schrieb Scott Kostyshak <skostysh at lyx.org>:

> Suppose I make a mistake in a regex in ignoredTests and I accidentally
> ignore a bunch of tests I did not plan to. We might never know. We have
> so many ctests now (which is great!) that I would not realize if we
> ignored one thousand tests accidentally.
> 
> The problem above is not the same for invertedTests since we would
> realize those due to test failures.
> 
> Of course, I can just store locally ctest -N and check it once in a
> while and compare the differences, but I have not been doing that and I
> think I will be too lazy to consistently do that in the future.
> 
> Any ideas on how we can automate making sure that we do not lose tests
> accidentally?
> 
> Scott

We could output (at configure time) how many tests are ignored.

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201126/c3566e8d/attachment.asc>


More information about the lyx-devel mailing list