xo-reader2: + DDefineSsm + utest
This commit is contained in:
parent
e38b61ce76
commit
301a7c7623
13 changed files with 762 additions and 3 deletions
27
utest/reader2_utest_main.cpp
Normal file
27
utest/reader2_utest_main.cpp
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
/** @file reader2_utest_main.cpp
|
||||
*
|
||||
* @author Roland Conybeare, Jan 2026
|
||||
**/
|
||||
|
||||
#include <xo/subsys/Subsystem.hpp>
|
||||
|
||||
#define CATCH_CONFIG_RUNNER
|
||||
#include "catch2/catch.hpp"
|
||||
|
||||
int
|
||||
main(int argc, char* argv[])
|
||||
{
|
||||
using xo::Subsystem;
|
||||
|
||||
// initialize subsystems
|
||||
Subsystem::initialize_all();
|
||||
|
||||
// Run Catch2's test session
|
||||
int result = Catch::Session().run(argc, argv);
|
||||
|
||||
// cleanup here, if any
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/* end reader2_utest_main.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue