Tests and RNG

cxl000 at hotmail.com cxl000 at hotmail.com
Mon Feb 6 19:08:16 EST 2006


I have seen mentioned a number of times were the inital seed for the RNG
can effect the outcome of the test because under some conditions it may
trigger a bug and that the current test infrastructure does not help in
being able to reproduce these problems.

I would like to suggest that test be change to take an optional seed and
to report the seed being used.
The default behavior is not changed allowing a wide range of random
conditions to be tested but when a test does fail the seed used can be
found in the logs and provided to allow reporoducing the problem.

Regards,
Chris Leach


More information about the gnucash-devel mailing list