X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fobjects_build_without_features.c;h=ab3bbb0ab13438660f527be73cd4e302994740e2;hb=0621cac3bf1b5cf4c90de56e0e43b0acde0c94f1;hp=8174541cd51271680dcff50d9a123489fdf73b33;hpb=b931f4765272d68de3b5e35d70c1933c27bcdea4;p=ccan diff --git a/tools/ccanlint/tests/objects_build_without_features.c b/tools/ccanlint/tests/objects_build_without_features.c index 8174541c..ab3bbb0a 100644 --- a/tools/ccanlint/tests/objects_build_without_features.c +++ b/tools/ccanlint/tests/objects_build_without_features.c @@ -1,14 +1,15 @@ #include #include -#include "../compulsory_tests/build.h" +#include "reduce_features.h" +#include "build.h" static void check_objs_build_without_features(struct manifest *m, - bool keep, unsigned int *timeleft, struct score *score) { - const char *flags = talloc_asprintf(score, "-I. %s", cflags); - build_objects(m, keep, score, flags, COMPILE_NOFEAT); + const char *flags = talloc_asprintf(score, "%s %s", + REDUCE_FEATURES_FLAGS, cflags); + build_objects(m, score, flags, COMPILE_NOFEAT); } struct ccanlint objects_build_without_features = {