MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / mock_executable

Function mock_executable

src/test/system_tests.cpp:27–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25#ifdef ENABLE_EXTERNAL_SIGNER
26
27static std::vector<std::string> mock_executable(std::string name)
28{
29 // Invoke the mock_process/* test case with all unsolicited output suppressed.
30 return {
31 boost::unit_test::framework::master_test_suite().argv[0],
32 // Disable false-positive memory leak dumps to stderr
33 // in debug builds when using the Windows UCRT.
34 "--detect_memory_leaks=0",
35 // Disable logging to stdout.
36 "--log_level=nothing",
37 // Disable the test report to stderr.
38 "--report_level=no",
39 "--run_test=mock_process/" + name,
40 };
41}
42
43BOOST_AUTO_TEST_CASE(run_command)
44{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected