HomePhabricator

[LINTER] Fix the tests linter

Description

[LINTER] Fix the tests linter

Summary:
The test linter only works on test suites that are using the
BOOST_FIXTURE_TEST_SUITE macro, however some tests don't require any
fixture and use BOOST_AUTO_TEST_SUITE.

This diff also adds the new seeder test directory to the linter paths.

Depends on D4417.

Test Plan:
Show no error:

arc lint --everything

Show both mismatch and duplicated name errors:
Copy the seeder test file with the name seeder2_tests.cpp then run:

arc lint

Reviewers: #bitcoin_abc, deadalnix, nakihito, jasonbcox

Reviewed By: #bitcoin_abc, nakihito, jasonbcox

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

Details

Provenance
FabienAuthored on Dec 13 2019, 08:16
FabienPushed on Dec 18 2019, 08:18
Reviewer
Restricted Project
Differential Revision
D4718: [LINTER] Fix the tests linter
Parents
rABC8fc1ee3ece76: Add a separate executable for seeder tests
Branches
Unknown
Tags
Unknown