| 25 | #ifdef ENABLE_EXTERNAL_SIGNER |
| 26 | |
| 27 | static 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 | |
| 43 | BOOST_AUTO_TEST_CASE(run_command) |
| 44 | { |
no outgoing calls
no test coverage detected