xo-umbrella2/xo-interpreter2/utest/interpreter2_utest_main.cpp
Roland Conybeare 7f4b4e7cbd git subrepo clone (merge) git@github.com:Rconybea/xo-interpreter2.git xo-interpreter2
subrepo:
  subdir:   "xo-interpreter2"
  merged:   "e4c6ff57"
upstream:
  origin:   "git@github.com:Rconybea/xo-interpreter2.git"
  branch:   "main"
  commit:   "e4c6ff57"
git-subrepo:
  version:  "0.4.9"
  origin:   "???"
  commit:   "???"
2026-06-06 22:13:05 -04:00

32 lines
620 B
C++

/** @file interpreter2_utest_main.cpp
*
* @author Roland Conybeare, Jan 2026
**/
#include <xo/facet/FacetRegistry.hpp>
#include <xo/subsys/Subsystem.hpp>
#define CATCH_CONFIG_RUNNER
#include "catch2/catch.hpp"
int
main(int argc, char* argv[])
{
using xo::facet::FacetRegistry;
using xo::Subsystem;
// initialize facet registry
FacetRegistry::instance(1024);
// initialize subsystems
Subsystem::initialize_all();
// Run Catch2's test session
int result = Catch::Session().run(argc, argv);
// cleanup here, if any
return result;
}
/* end interpreter2_utest_main.cpp */