/// /// Catch2 entrypoint /// #define CATCH_CONFIG_RUNNER // Catch2 #include #include "catch_discover.hpp" extern bool initTestFramework(); // // // int main(int argc, char* argv[]) { Catch::Session session; bool doDiscover = false; Catch::addDiscoverOption(session, doDiscover); int returnCode = session.applyCommandLine(argc, argv); if (returnCode != 0) return returnCode; if (!initTestFramework()) return -3; return Catch::runDiscoverSession(session, doDiscover); }