ccanlint: fix dependencies on tests_pass_without_features.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Aug 2011 07:50:06 +0000 (17:20 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Aug 2011 07:50:06 +0000 (17:20 +0930)
We can only test the featureless tests, once we've built them!

tools/ccanlint/tests/tests_compile.c
tools/ccanlint/tests/tests_pass.c

index 48b8c0cfa32aaeff5bf3d0f2df4adbaeb9d5f452..6c0f9d34274195855fafc4715972a717f37b48bd 100644 (file)
@@ -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);
index 6c1172a75bfe1841e58b8b45c632d19b48724313..15a97363098c0786790aad7c9ab433d9accd3d5d 100644 (file)
@@ -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);