+
+ /* 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))) {
+ if (stat("../tap.o", &st) != 0) {
+ report = talloc_asprintf_append(report,
+ "object file ../tap.o"
+ " (for tests)\n");
+ }
+ }
+