MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / run

Method run

extlibs/catch/include/catch/catch.hpp:12871–12882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12869 }
12870
12871 int Session::run() {
12872 if( ( m_configData.waitForKeypress & WaitForKeypress::BeforeStart ) != 0 ) {
12873 Catch::cout() << "...waiting for enter/ return before starting" << std::endl;
12874 static_cast<void>(std::getchar());
12875 }
12876 int exitCode = runInternal();
12877 if( ( m_configData.waitForKeypress & WaitForKeypress::BeforeExit ) != 0 ) {
12878 Catch::cout() << "...waiting for enter/ return before exiting, with code: " << exitCode << std::endl;
12879 static_cast<void>(std::getchar());
12880 }
12881 return exitCode;
12882 }
12883
12884 clara::Parser const& Session::cli() const {
12885 return m_cli;

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected