MCPcopy Create free account
hub / github.com/git/git / test_failed

Function test_failed

t/helper/test-run-command.c:162–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162static int test_failed(struct strbuf *out, void *cb, void *task_cb)
163{
164 struct testsuite *suite = cb;
165 const char *name = (const char *)task_cb;
166
167 string_list_append(&suite->failed, name);
168 strbuf_addf(out, "FAILED TO START: '%s'\n", name);
169
170 return 0;
171}
172
173static const char * const testsuite_usage[] = {
174 "test-run-command testsuite [<options>] [<pattern>...]",

Callers

nothing calls this directly

Calls 2

strbuf_addfFunction · 0.85
string_list_appendFunction · 0.50

Tested by

no test coverage detected