]> granicus.if.org Git - python/commit
Add the ability to control the random seed used by regrtest.py -r.
authorCollin Winter <collinw@gmail.com>
Sun, 29 Mar 2009 03:44:19 +0000 (03:44 +0000)
committerCollin Winter <collinw@gmail.com>
Sun, 29 Mar 2009 03:44:19 +0000 (03:44 +0000)
commita199f0198600996c6a9de3a3d914f0bc2101d244
treeb52ec7fe85f09a3ff3647843f4a0681998f937ec
parent097aafdde60f9dcb4ce1c5b4b175d211fce58c5e
Add the ability to control the random seed used by regrtest.py -r.

This adds a --randseed option, and makes regrtest.py -r indicate what random seed it's using so that that value can later be fed back to --randseed. This option is useful for tracking down test order-related issues found by make buildbottest, for example.
Lib/test/regrtest.py