From: Rusty Russell Date: Tue, 29 Nov 2011 22:29:11 +0000 (+1030) Subject: ccanlint: fix depends_build_without_features X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=b4ae30818ed7b5e670a99518e79595e7920f8e5c;ds=sidebyside ccanlint: fix depends_build_without_features This depends on reduce_features; currently it tends to run before that, so it doesn't think there are any features to reduce and doesn't build or run the tests with reduced features. --- diff --git a/tools/ccanlint/tests/depends_build_without_features.c b/tools/ccanlint/tests/depends_build_without_features.c index cf7185be..9982d27b 100644 --- a/tools/ccanlint/tests/depends_build_without_features.c +++ b/tools/ccanlint/tests/depends_build_without_features.c @@ -55,7 +55,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_exist reduce_features" }; REGISTER_TEST(depends_build_without_features);