MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / validateArgsCount

Function validateArgsCount

test/test/nonjava/non_java_app.cpp:191–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191void validateArgsCount(int argc, int expected) {
192 if (argc < expected) {
193 std::cerr << "Test requires " << (expected - 1) << " arguments" << std::endl;
194 exit(1);
195 }
196}
197
198/*
199Here is the flow of the test:

Callers 2

testFlow3Function · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected