X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fexamples_run.c;h=077ea2487b431a1f365702f94b9ff4f78473df5d;hb=016a19d260cd7f4afeb5b2b2cc28c8bbed1cd170;hp=7fe41654b443cdf28da5c7f6e910efc9d33e1d2e;hpb=f9423c171395571f9880286190d9cf63da147668;p=ccan diff --git a/tools/ccanlint/tests/examples_run.c b/tools/ccanlint/tests/examples_run.c index 7fe41654..077ea248 100644 --- a/tools/ccanlint/tests/examples_run.c +++ b/tools/ccanlint/tests/examples_run.c @@ -276,6 +276,7 @@ struct ccanlint examples_run = { .name = "Module examples with expected output give that output", .check = run_examples, .can_run = can_run, + .needs = "examples_compile" }; -REGISTER_TEST(examples_run, &examples_compile, NULL); +REGISTER_TEST(examples_run);