1 #include <tools/ccanlint/ccanlint.h>
2 #include <ccan/talloc/talloc.h>
3 #include "reduce_features.h"
6 static void check_objs_build_without_features(struct manifest *m,
7 unsigned int *timeleft,
10 const char *flags = talloc_asprintf(score, "%s %s",
11 REDUCE_FEATURES_FLAGS, cflags);
12 build_objects(m, score, flags, COMPILE_NOFEAT);
15 struct ccanlint objects_build_without_features = {
16 .key = "objects_build_without_features",
17 .name = "Module object files can be built (without features)",
18 .check = check_objs_build_without_features,
19 .needs = "reduce_features objects_build"
21 REGISTER_TEST(objects_build_without_features);