HomePhabricator

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

Authored by MarcoFalke <falke.marco@gmail.com> on May 6 2019, 16:59.

Description

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

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]

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D7083

Details

Committed
majcostaJul 30 2020, 00:34
Pushed
majcostaJul 30 2020, 00:34
Reviewer
Restricted Project
Differential Revision
D7083: [backport#15963] [tests] Make random seed logged and settable
Parents
rABC05960024a55d: [backport#15927] [tests] log thread names by default in functional tests
Branches
Unknown
Tags
Unknown