Page MenuHomePhabricator

test: Replace gArgs with local argsman in bench
ClosedPublic

Authored by deadalnix on Oct 23 2020, 13:31.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCb515add3355d: test: Replace gArgs with local argsman in bench
Summary
  • tools: Add unused argsman to bench_bitcoin
  • scripted-diff: Replace gArgs with local argsman in bench

-BEGIN VERIFY SCRIPT-
sed -i -e 's/gArgs/argsman/g' src/bench/bench_bitcoin.cpp
-END VERIFY SCRIPT-

  • bench: Remove unused argsman.ClearArgs
  • util: Document why ArgsManager (con/de)structor is not inline

Backport of Core PR18662

Test Plan
ninja bench-bitcoin

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien added a subscriber: Fabien.

Note: this depends on PR18571 but can be be done out of order without problem

This revision is now accepted and ready to land.Oct 23 2020, 14:01