No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
6ede709
... +2 ...
d00c5f8
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
70 | 70 | last_output = parse_output::ok; |
|
71 | 71 | remArgs = remaining_for_passthrough(); |
|
72 | 72 | if (passConfig) { |
|
73 | - | auto* opt = get_option("--config"); |
|
74 | - | if (opt->count() > 0) { |
|
73 | + | auto* opt = get_option_no_throw("--config"); |
|
74 | + | if (opt != nullptr && opt->count() > 0) { |
|
75 | 75 | remArgs.push_back(opt->as<std::string>()); |
|
76 | 76 | remArgs.emplace_back("--config"); |
|
77 | 77 | } |
10 | 10 | #include "../core/Broker.hpp" |
|
11 | 11 | #include "../core/core-exceptions.hpp" |
|
12 | 12 | #include "../core/helicsCLI11.hpp" |
|
13 | + | #include "MultiBroker.hpp" |
|
13 | 14 | #include "gmlc/utilities/stringOps.h" |
|
14 | 15 | ||
15 | 16 | #ifdef HELICS_ENABLE_WEBSERVER |
22 | 23 | /** function to run the online terminal program*/ |
|
23 | 24 | void terminalFunction(std::vector<std::string> args); |
|
24 | 25 | ||
25 | - | int main(int argc, char* argv[]) |
|
26 | + | static const bool amb = helics::allowMultiBroker(); |
|
27 | + | ||
28 | + | int main(int argc, char* argv[]) //NOLINT |
|
26 | 29 | { |
|
27 | 30 | int ret{0}; |
|
28 | 31 | bool runterminal{false}; |
62 | 65 | return std::string{}; |
|
63 | 66 | }); |
|
64 | 67 | cmdLine.allow_extras(); |
|
68 | + | cmdLine.set_config(); |
|
65 | 69 | auto res = cmdLine.helics_parse(argc, argv); |
|
66 | 70 | if (res != helics::helicsCLI11App::parse_output::ok) { |
|
67 | 71 | switch (res) { |
Learn more Showing 8 files with coverage changes found.
src/helics/network/test/TestComms.cpp
src/helics/network/tcp/TcpCommsSS.cpp
src/helics/core/CoreBroker.cpp
src/helics/core/CommonCore.cpp
src/helics/core/TimeCoordinator.cpp
src/helics/core/FederateState.cpp
src/helics/network/zmq/ZmqCommsSS.cpp
src/helics/core/FederateState.hpp
Files | Coverage |
---|---|
src/helics | 0.02% 74.77% |
Project Totals (207 files) | 74.77% |
d00c5f8
eb111d8
f21c31a
6ede709