- }
- }
-
- /* We may need libtap for testing, unless we're "tap" */
- if (!streq(m->basename, "tap")
- && (!list_empty(&m->run_tests) || !list_empty(&m->api_tests))) {
- char *tapobj = talloc_asprintf(m, "%s/ccan/tap.o", ccan_dir);
- if (stat(tapobj, &st) != 0) {
- report = talloc_asprintf_append(report,
- "object file %s"
- " (for tests)\n",
- tapobj);