Page MenuHomePhabricator

[backport#15963] [tests] Make random seed logged and settable
ClosedPublic

Authored by majcosta on Jul 29 2020, 17:39.

Details

Summary

[tests] Make random seed logged and settable (John Newbery)

Pull request description:

  This allows tests which use randomness to be reproducibly run on

failure.

https://github.com/bitcoin/bitcoin/pull/15963/files


Depends on D7081

Backport of Core PR15963

Test Plan
ninja
cd test
../../test/functional/[test_name] --config=config.ini --randomseed=[random_seed]