Page MenuHomePhabricator

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

Authored by majcosta on Wed, Jul 29, 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]

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

majcosta created this revision.Wed, Jul 29, 17:39
Herald added a reviewer: Restricted Project. · View Herald TranscriptWed, Jul 29, 17:39
majcosta requested review of this revision.Wed, Jul 29, 17:39
teamcity edited the summary of this revision. (Show Details)Wed, Jul 29, 17:40

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

Fabien accepted this revision.Wed, Jul 29, 21:16
This revision is now accepted and ready to land.Wed, Jul 29, 21:16