This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 01/15] Selftest framework (unittests v4)


On 11/25/2015 09:50 AM, Mike Stump wrote:
On Nov 25, 2015, at 2:55 AM, Bernd Schmidt <bschmidt@redhat.com> wrote:
That would be the ideal - though do we require randomization

What do you hope to gain with randomization?

Please, no randomization.
Agreed.

However, from a design standpoint, the tests must not depend on state from prior tests. Thus, if someone were to report different unit testing results after randomizing the tests, then that's a bug (most likely in a test) that would need to be fixed.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]