MCPcopy Create free account
hub / github.com/Kitware/CMake / test5

Function test5

Source/kwsys/testProcess.c:145–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145static int test5(int argc, char const* argv[])
146{
147 int r;
148 char const* cmd[4];
149 (void)argc;
150 cmd[0] = argv[0];
151 cmd[1] = "run";
152 cmd[2] = "4";
153 cmd[3] = 0;
154 fprintf(stdout, "Output on stdout before recursive test.\n");
155 fprintf(stderr, "Output on stderr before recursive test.\n");
156 fflush(stdout);
157 fflush(stderr);
158 r = runChild(cmd, kwsysProcess_State_Exception,
159#ifdef CRASH_USING_ABORT
160 kwsysProcess_Exception_Other,
161#else
162 kwsysProcess_Exception_Fault,
163#endif
164 1, 1, 1, 0, 15, 0, 1, 0, 0, 0);
165 fprintf(stdout, "Output on stdout after recursive test.\n");
166 fprintf(stderr, "Output on stderr after recursive test.\n");
167 fflush(stdout);
168 fflush(stderr);
169 return r;
170}
171
172#define TEST6_SIZE (4096 * 2)
173static void test6(int argc, char const* argv[])

Callers 1

mainFunction · 0.85

Calls 1

runChildFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…