From: Florent Xicluna Date: Sat, 6 Jul 2013 10:25:52 +0000 (+0200) Subject: Issue #18375: Assume --randomize when --randseed is used for running the testsuite. X-Git-Tag: v3.4.0a1~324^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9e7c86d7e0593c13155c1b6c47c4e64fdbc39ac;p=thirdparty%2FPython%2Fcpython.git Issue #18375: Assume --randomize when --randseed is used for running the testsuite. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index ddb6b9230c1c..ae62c6e7a0f1 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -346,6 +346,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False, elif o in ('-r', '--randomize'): randomize = True elif o == '--randseed': + randomize = True random_seed = int(a) elif o in ('-f', '--fromfile'): fromfile = a diff --git a/Misc/NEWS b/Misc/NEWS index d0f2462f7f54..a1f30847fec0 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -158,6 +158,9 @@ IDLE Tests ----- +- Issue #18375: Assume --randomize when --randseed is used for running the + testsuite. + - Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé. - Issue #17691: test_univnewlines now works with unittest test discovery.