MCPcopy Create free account
hub / github.com/apache/trafficserver / run

Method run

lib/catch2/catch.hpp:13511–13522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13509 }
13510
13511 int Session::run() {
13512 if( ( m_configData.waitForKeypress & WaitForKeypress::BeforeStart ) != 0 ) {
13513 Catch::cout() << "...waiting for enter/ return before starting" << std::endl;
13514 static_cast<void>(std::getchar());
13515 }
13516 int exitCode = runInternal();
13517 if( ( m_configData.waitForKeypress & WaitForKeypress::BeforeExit ) != 0 ) {
13518 Catch::cout() << "...waiting for enter/ return before exiting, with code: " << exitCode << std::endl;
13519 static_cast<void>(std::getchar());
13520 }
13521 return exitCode;
13522 }
13523
13524 clara::Parser const& Session::cli() const {
13525 return m_cli;

Callers 2

mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.36