Page MenuHomePhabricator

[avalanche] Add a facility for managing the command line options in the processor tests
ClosedPublic

Authored by Fabien on Jan 19 2023, 15:58.

Details

Summary

Some tests use a local ArgsManager, some use the global gArgs, some clear them after the test and some don't.
Let's clean this up and remove some boilerplate by consistently using m_node.args, and provide a facility that ensure all args are cleared after each test case.

Depends on D13005.

Test Plan
ninja check-avalanche

Diff Detail

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