We'll need this in a moment.
return NULL;
}
+bool is_excluded(const char *name)
+{
+ return btree_lookup(cmdline_exclude, name) != NULL
+ || btree_lookup(info_exclude, name) != NULL
+ || find_test(name)->skip != NULL;
+}
+
#undef REGISTER_TEST
#define REGISTER_TEST(name, ...) extern struct ccanlint name
#include "generated-normal-tests"
struct ccanlint *dependent;
};
+/* Is this test excluded (cmdline or _info). */
+bool is_excluded(const char *name);
+
/* Are we happy to compile stuff, or just non-intrusive tests? */
extern bool safe_mode;