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

Method run

test/expected/catch.hpp:13294–13305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13292 }
13293
13294 int Session::run() {
13295 if( ( m_configData.waitForKeypress & WaitForKeypress::BeforeStart ) != 0 ) {
13296 Catch::cout() << "...waiting for enter/ return before starting" << std::endl;
13297 static_cast<void>(std::getchar());
13298 }
13299 int exitCode = runInternal();
13300 if( ( m_configData.waitForKeypress & WaitForKeypress::BeforeExit ) != 0 ) {
13301 Catch::cout() << "...waiting for enter/ return before exiting, with code: " << exitCode << std::endl;
13302 static_cast<void>(std::getchar());
13303 }
13304 return exitCode;
13305 }
13306
13307 clara::Parser const& Session::cli() const {
13308 return m_cli;

Callers 2

TEST_PFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_PFunction · 0.36