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