test: [refactor] Pass TestOpts

This commit is contained in:
MarcoFalke
2024-07-08 15:45:56 +02:00
parent bd5d1688b4
commit fa690c8e53
13 changed files with 40 additions and 41 deletions

View File

@@ -28,7 +28,7 @@
struct NoLockLoggingTestingSetup : public TestingSetup {
NoLockLoggingTestingSetup()
#ifdef DEBUG_LOCKCONTENTION
: TestingSetup{ChainType::MAIN, /*extra_args=*/{"-debugexclude=lock"}} {}
: TestingSetup{ChainType::MAIN, {.extra_args = { "-debugexclude=lock" } }} {}
#else
: TestingSetup{ChainType::MAIN} {}
#endif