ccanlint: fix depends_build_without_features
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Nov 2011 22:29:11 +0000 (08:59 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Nov 2011 22:29:11 +0000 (08:59 +1030)
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.

tools/ccanlint/tests/depends_build_without_features.c

index cf7185be0d80fc2f79aa5cf776663e0b7639eca9..9982d27bbf8f980ae57438de06cf0a256f3a9cfd 100644 (file)
@@ -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);