X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Frun_tests_valgrind.c;h=30a806eb934bd5cf9799a8b74ab5e88c348d1187;hb=2926cafb52b9d95646d9dafa877d53f2368d8b2c;hp=d3cdb9c78c5929be4fa53300bdcc71eaaa2457a9;hpb=016a19d260cd7f4afeb5b2b2cc28c8bbed1cd170;p=ccan-lca-2011.git diff --git a/tools/ccanlint/tests/run_tests_valgrind.c b/tools/ccanlint/tests/run_tests_valgrind.c index d3cdb9c..30a806e 100644 --- a/tools/ccanlint/tests/run_tests_valgrind.c +++ b/tools/ccanlint/tests/run_tests_valgrind.c @@ -179,7 +179,7 @@ static void run_under_debugger_vg(struct manifest *m, struct score *score) doesnt_matter(); } -struct ccanlint run_tests_vg = { +struct ccanlint tests_pass_valgrind = { .key = "tests_pass_valgrind", .name = "Module's run and api tests succeed under valgrind", .can_run = can_run_vg, @@ -189,13 +189,13 @@ struct ccanlint run_tests_vg = { .needs = "tests_pass" }; -REGISTER_TEST(run_tests_vg); +REGISTER_TEST(tests_pass_valgrind); -struct ccanlint run_tests_vg_leak = { +struct ccanlint tests_pass_valgrind_noleaks = { .key = "tests_pass_valgrind_noleaks", .name = "Module's run and api tests leak memory", .check = do_leakcheck_vg, .needs = "tests_pass_valgrind" }; -REGISTER_TEST(run_tests_vg_leak); +REGISTER_TEST(tests_pass_valgrind_noleaks);