Browse Source

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.
Rusty Russell 14 years ago
parent
commit
b4ae30818e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/ccanlint/tests/depends_build_without_features.c

+ 1 - 1
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)",
 	.name = "Module's CCAN dependencies can be found or built (reduced features)",
 	.check = check_depends_built_without_features,
 	.check = check_depends_built_without_features,
 	.can_run = can_build,
 	.can_run = can_build,
-	.needs = "depends_exist"
+	.needs = "depends_exist reduce_features"
 };
 };
 
 
 REGISTER_TEST(depends_build_without_features);
 REGISTER_TEST(depends_build_without_features);