MCPcopy Create free account
hub / github.com/apache/impala / Run

Method Run

be/src/kudu/util/flag_validators-test.cc:97–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95class FlagsValidatorsDeathTest : public KuduTest {
96 public:
97 void Run(const char** argv, int argc) {
98 debug::ScopedLeakCheckDisabler disabler;
99 char** casted_argv = const_cast<char**>(argv);
100 // ParseCommandLineFlags() calls exit(1) if one of the custom validators
101 // finds inconsistency in flags.
102 ParseCommandLineFlags(&argc, &casted_argv, true);
103 exit(0);
104 }
105
106 void RunSuccess(const char** argv, int argc) {
107 EXPECT_EXIT(Run(argv, argc), ::testing::ExitedWithCode(0), ".*");

Callers

nothing calls this directly

Calls 1

ParseCommandLineFlagsFunction · 0.85

Tested by

no test coverage detected