ccanlint: clean up test short descriptions
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 9 Apr 2010 02:21:42 +0000 (11:51 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 9 Apr 2010 02:21:42 +0000 (11:51 +0930)
15 files changed:
tools/ccanlint/compulsory_tests/build.c
tools/ccanlint/compulsory_tests/check_build.c
tools/ccanlint/compulsory_tests/check_depends_built.c
tools/ccanlint/compulsory_tests/check_depends_exist.c
tools/ccanlint/compulsory_tests/check_includes_build.c
tools/ccanlint/compulsory_tests/compile_test_helpers.c
tools/ccanlint/compulsory_tests/compile_tests.c
tools/ccanlint/compulsory_tests/has_info.c
tools/ccanlint/compulsory_tests/has_main_header.c
tools/ccanlint/compulsory_tests/has_tests.c
tools/ccanlint/compulsory_tests/run_tests.c
tools/ccanlint/tests/has_info_documentation.c
tools/ccanlint/tests/idempotent.c
tools/ccanlint/tests/run_tests_valgrind.c
tools/ccanlint/tests/trailing_whitespace.c

index 8b530131eb05b91711f81fd4c0060661a91b92b2..efc0b27a44f80bf022ae8df6c3670da33a1db058 100644 (file)
@@ -63,7 +63,7 @@ static const char *describe_build(struct manifest *m, void *check_result)
 
 struct ccanlint build = {
        .key = "build",
-       .name = "Module can be built",
+       .name = "Module can be built from object files",
        .total_score = 1,
        .check = do_build,
        .describe = describe_build,
index a0b596693c492824cade2404ba0f0ed1b6693249..820cc9fec2eb53edc30ff6b97f892e2090bab66c 100644 (file)
@@ -84,8 +84,8 @@ static const char *describe_use_build(struct manifest *m, void *check_result)
 }
 
 struct ccanlint check_build = {
-       .key = "check-build",
-       .name = "Module can be used",
+       .key = "check-link",
+       .name = "Module can be linked against trivial program",
        .total_score = 1,
        .check = check_use_build,
        .describe = describe_use_build,
index 854f4bc8fe40443cc86bed5b30f3519281218ab9..a3e42f267e1bb076d5a889d6870501d9ba41ad53 100644 (file)
@@ -84,7 +84,7 @@ static const char *describe_depends_built(struct manifest *m,
 
 struct ccanlint depends_built = {
        .key = "depends-built",
-       .name = "CCAN dependencies are built",
+       .name = "Module's CCAN dependencies are already built",
        .total_score = 1,
        .check = check_depends_built,
        .describe = describe_depends_built,
index 28f581c5758e01b3aa335e3744757996d1f659a8..aef2a24baeb3e0a57a759cb757da79e9bd55a9f0 100644 (file)
@@ -67,7 +67,7 @@ static const char *describe_depends_exist(struct manifest *m,
 
 struct ccanlint depends_exist = {
        .key = "depends-exist",
-       .name = "CCAN dependencies are present",
+       .name = "Module's CCAN dependencies are present",
        .total_score = 1,
        .check = check_depends_exist,
        .describe = describe_depends_exist,
index 72df8ca8d2c5e54c07a0cbfa0a11e78cbf47c7bf..2962765a716f60f67861eca11d952ff987a8fa26 100644 (file)
@@ -58,7 +58,7 @@ static const char *describe_includes_build(struct manifest *m,
 
 struct ccanlint includes_build = {
        .key = "include-main",
-       .name = "Can compile against main header",
+       .name = "Modules main header compiles",
        .total_score = 1,
        .check = check_includes_build,
        .describe = describe_includes_build,
index 5c7a9ec6d271428529d447b2be6b7ab42e21cba4..127d972b183cba95113c25f0c924e57309306d83 100644 (file)
@@ -57,7 +57,7 @@ static const char *describe_compile_test_helpers(struct manifest *m,
 
 struct ccanlint compile_test_helpers = {
        .key = "compile-helpers",
-       .name = "Compiling test helper files",
+       .name = "Module test helper objects compile",
        .total_score = 1,
        .check = do_compile_test_helpers,
        .describe = describe_compile_test_helpers,
index a614adb3ea5df1cff665d554ed35260edf42f1ac..89ba29b9b57c8b76083cab49697154ff645002a9 100644 (file)
@@ -183,7 +183,7 @@ static const char *describe_compile_tests(struct manifest *m,
 
 struct ccanlint compile_tests = {
        .key = "compile",
-       .name = "Compile tests succeed",
+       .name = "Module tests compile",
        .score = score_compile_tests,
        .check = do_compile_tests,
        .describe = describe_compile_tests,
index a5c825265b3266bf9f6b00edc624345d255dd97f..4b6687e45ea196c2e93de17513aa1f54ef37dec9 100644 (file)
@@ -72,7 +72,7 @@ static void create_info_template(struct manifest *m, void *check_result)
 
 struct ccanlint has_info = {
        .key = "info",
-       .name = "Has _info file",
+       .name = "Module has _info file",
        .check = check_has_info,
        .describe = describe_has_info,
        .handle = create_info_template,
index b404aef80d1d40b94346ee5b018a06823838fbde..c2c823821b3a1e8c6ed65aa41a3c473b23ba3957 100644 (file)
@@ -36,7 +36,7 @@ static const char *describe_has_main_header(struct manifest *m,
 
 struct ccanlint has_main_header = {
        .key = "has-main-header",
-       .name = "No main header file",
+       .name = "Module has main header file",
        .check = check_has_main_header,
        .describe = describe_has_main_header,
 };
index 930b412970353a05042623f65c91e263e37b003c..0fa11aaa7505eb12d8cb4d93a2c8c83f09c27272 100644 (file)
@@ -125,7 +125,7 @@ static void handle_no_tests(struct manifest *m, void *check_result)
 
 struct ccanlint has_tests = {
        .key = "has-tests",
-       .name = "Has tests",
+       .name = "Module has tests",
        .check = check_has_tests,
        .describe = describe_has_tests,
        .handle = handle_no_tests,
index 2fd87a8c5c4978204926440aa4f6ef02c27cbdbf..581654a176b7f8a1f6403b0fdc000d0368e22c39 100644 (file)
@@ -125,7 +125,7 @@ static void run_under_debugger(struct manifest *m, void *check_result)
 
 struct ccanlint run_tests = {
        .key = "run",
-       .name = "run and api tests run successfully",
+       .name = "Module's run and api tests pass",
        .score = score_run_tests,
        .check = do_run_tests,
        .describe = describe_run_tests,
index aed229340dea38fe4555d8132396515167053d9f..4d440e6d7cec650b91d80d86e41fd0477e299f6e 100644 (file)
@@ -124,7 +124,7 @@ static unsigned int has_info_documentation_score(struct manifest *m,
 
 struct ccanlint has_info_documentation = {
        .key = "info-documentation",
-       .name = "Documentation in _info file",
+       .name = "Module has documentation in _info",
        .total_score = 3,
        .score = has_info_documentation_score,
        .check = check_has_info_documentation,
index 6ed1767606239d7e4f8dde94c7211a52ba44ee65..34b455c0a5fd5dd206b58c05a3510181ec6fe1f3 100644 (file)
@@ -133,7 +133,7 @@ static const char *describe_idempotent(struct manifest *m, void *check_result)
 
 struct ccanlint idempotent = {
        .key = "idempotent",
-       .name = "Headers are #ifndef/#define idempotent wrapped",
+       .name = "Module headers are #ifndef/#define wrapped",
        .total_score = 1,
        .check = check_idempotent,
        .describe = describe_idempotent,
index 6312a0a864327988c53b39f080eb0b6daedcaecc..5819b5eba4a5342ce6f93aba4d9941a6d3924ca9 100644 (file)
@@ -128,7 +128,7 @@ static void run_under_debugger_vg(struct manifest *m, void *check_result)
 
 struct ccanlint run_tests_vg = {
        .key = "valgrind",
-       .name = "run and api tests under valgrind",
+       .name = "Module's run and api tests succeed under valgrind",
        .score = score_run_tests_vg,
        .check = do_run_tests_vg,
        .describe = describe_run_tests_vg,
index f5bf5b9fec7f2be5929c25d085926d6b174fd585..6b831a727550c400476727e17515403f91ecada3 100644 (file)
@@ -41,7 +41,7 @@ static const char *describe_trailing_whitespace(struct manifest *m,
 
 struct ccanlint trailing_whitespace = {
        .key = "trailing-whitespace",
-       .name = "No lines with unnecessary trailing whitespace",
+       .name = "Module's source code has no trailing whitespace",
        .total_score = 1,
        .check = check_trailing_whitespace,
        .describe = describe_trailing_whitespace,