5 bool run_gcov(const void *ctx, unsigned int *time_ms, char **output,
13 args = tal_vfmt(ctx, fmt, ap);
14 rc = run_command(ctx, time_ms, output, "gcov %s", args);
19 const char *gcov_unavailable(void *ctx)
21 const char *err = NULL;
24 unsigned int timeleft = default_timeout_ms;
27 if (!run_gcov(ctx, &timeleft, &output, "-h")) {
28 err = tal_fmt(ctx, "No gcov support: %s", output);
32 err = "No coverage support for this compiler";