From e463c4f4b6614cdd869d3db61e14703f3f1c923b Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 22 Aug 2011 17:20:06 +0930 Subject: [PATCH] ccanlint: fix dependencies on tests_pass_without_features. We can only test the featureless tests, once we've built them! --- tools/ccanlint/tests/tests_compile.c | 2 +- tools/ccanlint/tests/tests_pass.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2