From: Rusty Russell Date: Mon, 22 Aug 2011 07:50:06 +0000 (+0930) Subject: ccanlint: fix dependencies on tests_pass_without_features. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=e463c4f4b6614cdd869d3db61e14703f3f1c923b;ds=sidebyside ccanlint: fix dependencies on tests_pass_without_features. We can only test the featureless tests, once we've built them! --- diff --git a/tools/ccanlint/tests/tests_compile.c b/tools/ccanlint/tests/tests_compile.c index 48b8c0cf..6c0f9d34 100644 --- a/tools/ccanlint/tests/tests_compile.c +++ b/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); diff --git a/tools/ccanlint/tests/tests_pass.c b/tools/ccanlint/tests/tests_pass.c index 6c1172a7..15a97363 100644 --- a/tools/ccanlint/tests/tests_pass.c +++ b/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);