Browse Source

ccanlint: fix dependencies on tests_pass_without_features.

We can only test the featureless tests, once we've built them!
Rusty Russell 14 years ago
parent
commit
e463c4f4b6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tools/ccanlint/tests/tests_compile.c
  2. 1 1
      tools/ccanlint/tests/tests_pass.c

+ 1 - 1
tools/ccanlint/tests/tests_compile.c

@@ -175,6 +175,6 @@ struct ccanlint tests_compile_without_features = {
 	.name = "Module tests compile (without features)",
 	.check = do_compile_tests_without_features,
 	.can_run = features_reduced,
-	.needs = "reduce_features"
+	.needs = "tests_compile reduce_features"
 };
 REGISTER_TEST(tests_compile_without_features);

+ 1 - 1
tools/ccanlint/tests/tests_pass.c

@@ -81,7 +81,7 @@ struct ccanlint tests_pass_without_features = {
 	.name = "Module's run and api tests pass (without features)",
 	.check = do_run_tests,
 	.handle = run_under_debugger,
-	.needs = "tests_pass reduce_features"
+	.needs = "tests_compile_without_features"
 };
 
 REGISTER_TEST(tests_pass_without_features);