| 146 | } |
| 147 | |
| 148 | static int test_finished(int result, struct strbuf *err, void *cb, |
| 149 | void *task_cb) |
| 150 | { |
| 151 | struct testsuite *suite = cb; |
| 152 | const char *name = (const char *)task_cb; |
| 153 | |
| 154 | if (result) |
| 155 | string_list_append(&suite->failed, name); |
| 156 | |
| 157 | strbuf_addf(err, "%s: '%s'\n", result ? "FAIL" : "SUCCESS", name); |
| 158 | |
| 159 | return 0; |
| 160 | } |
| 161 | |
| 162 | static int test_failed(struct strbuf *out, void *cb, void *task_cb) |
| 163 | { |
nothing calls this directly
no test coverage detected