+static void compile_ok(const char *dir, struct test_type *t, const char *name,
+ const char *apiobj, const char *libs)
+{
+ ok(build(dir, name, "", libs, 0) == 0, "%s %s", t->name, name);
+}
+
+/* api tests get the API obj linked in as well. */
+static void compile_api_ok(const char *dir, struct test_type *t,
+ const char *name, const char *apiobj,
+ const char *libs)