X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fdepends_build_without_features.c;h=533f4f318ce869cfb48f83882aa713bea5457dfa;hb=bbb4aa72f0a087b3a1441e912ccac576c907e618;hp=cf7185be0d80fc2f79aa5cf776663e0b7639eca9;hpb=939fab341caaa06d032b29f06362335de0db82cc;p=ccan diff --git a/tools/ccanlint/tests/depends_build_without_features.c b/tools/ccanlint/tests/depends_build_without_features.c index cf7185be..533f4f31 100644 --- a/tools/ccanlint/tests/depends_build_without_features.c +++ b/tools/ccanlint/tests/depends_build_without_features.c @@ -14,7 +14,7 @@ #include #include #include "reduce_features.h" -#include "../compulsory_tests/build.h" +#include "build.h" static const char *can_build(struct manifest *m) { @@ -24,7 +24,6 @@ static const char *can_build(struct manifest *m) } static void check_depends_built_without_features(struct manifest *m, - bool keep, unsigned int *timeleft, struct score *score) { @@ -55,7 +54,7 @@ struct ccanlint depends_build_without_features = { .name = "Module's CCAN dependencies can be found or built (reduced features)", .check = check_depends_built_without_features, .can_run = can_build, - .needs = "depends_exist" + .needs = "depends_build reduce_features" }; REGISTER_TEST(depends_build_without_features);