Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
357700fd
Commit
357700fd
authored
Apr 09, 2010
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccanlint: clean up test short descriptions
parent
218c9c23
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
16 additions
and
16 deletions
+16
-16
tools/ccanlint/compulsory_tests/build.c
tools/ccanlint/compulsory_tests/build.c
+1
-1
tools/ccanlint/compulsory_tests/check_build.c
tools/ccanlint/compulsory_tests/check_build.c
+2
-2
tools/ccanlint/compulsory_tests/check_depends_built.c
tools/ccanlint/compulsory_tests/check_depends_built.c
+1
-1
tools/ccanlint/compulsory_tests/check_depends_exist.c
tools/ccanlint/compulsory_tests/check_depends_exist.c
+1
-1
tools/ccanlint/compulsory_tests/check_includes_build.c
tools/ccanlint/compulsory_tests/check_includes_build.c
+1
-1
tools/ccanlint/compulsory_tests/compile_test_helpers.c
tools/ccanlint/compulsory_tests/compile_test_helpers.c
+1
-1
tools/ccanlint/compulsory_tests/compile_tests.c
tools/ccanlint/compulsory_tests/compile_tests.c
+1
-1
tools/ccanlint/compulsory_tests/has_info.c
tools/ccanlint/compulsory_tests/has_info.c
+1
-1
tools/ccanlint/compulsory_tests/has_main_header.c
tools/ccanlint/compulsory_tests/has_main_header.c
+1
-1
tools/ccanlint/compulsory_tests/has_tests.c
tools/ccanlint/compulsory_tests/has_tests.c
+1
-1
tools/ccanlint/compulsory_tests/run_tests.c
tools/ccanlint/compulsory_tests/run_tests.c
+1
-1
tools/ccanlint/tests/has_info_documentation.c
tools/ccanlint/tests/has_info_documentation.c
+1
-1
tools/ccanlint/tests/idempotent.c
tools/ccanlint/tests/idempotent.c
+1
-1
tools/ccanlint/tests/run_tests_valgrind.c
tools/ccanlint/tests/run_tests_valgrind.c
+1
-1
tools/ccanlint/tests/trailing_whitespace.c
tools/ccanlint/tests/trailing_whitespace.c
+1
-1
No files found.
tools/ccanlint/compulsory_tests/build.c
View file @
357700fd
...
@@ -63,7 +63,7 @@ static const char *describe_build(struct manifest *m, void *check_result)
...
@@ -63,7 +63,7 @@ static const char *describe_build(struct manifest *m, void *check_result)
struct
ccanlint
build
=
{
struct
ccanlint
build
=
{
.
key
=
"build"
,
.
key
=
"build"
,
.
name
=
"Module can be built"
,
.
name
=
"Module can be built
from object files
"
,
.
total_score
=
1
,
.
total_score
=
1
,
.
check
=
do_build
,
.
check
=
do_build
,
.
describe
=
describe_build
,
.
describe
=
describe_build
,
...
...
tools/ccanlint/compulsory_tests/check_build.c
View file @
357700fd
...
@@ -84,8 +84,8 @@ static const char *describe_use_build(struct manifest *m, void *check_result)
...
@@ -84,8 +84,8 @@ static const char *describe_use_build(struct manifest *m, void *check_result)
}
}
struct
ccanlint
check_build
=
{
struct
ccanlint
check_build
=
{
.
key
=
"check-
build
"
,
.
key
=
"check-
link
"
,
.
name
=
"Module can be
used
"
,
.
name
=
"Module can be
linked against trivial program
"
,
.
total_score
=
1
,
.
total_score
=
1
,
.
check
=
check_use_build
,
.
check
=
check_use_build
,
.
describe
=
describe_use_build
,
.
describe
=
describe_use_build
,
...
...
tools/ccanlint/compulsory_tests/check_depends_built.c
View file @
357700fd
...
@@ -84,7 +84,7 @@ static const char *describe_depends_built(struct manifest *m,
...
@@ -84,7 +84,7 @@ static const char *describe_depends_built(struct manifest *m,
struct
ccanlint
depends_built
=
{
struct
ccanlint
depends_built
=
{
.
key
=
"depends-built"
,
.
key
=
"depends-built"
,
.
name
=
"
CCAN dependencies are
built"
,
.
name
=
"
Module's CCAN dependencies are already
built"
,
.
total_score
=
1
,
.
total_score
=
1
,
.
check
=
check_depends_built
,
.
check
=
check_depends_built
,
.
describe
=
describe_depends_built
,
.
describe
=
describe_depends_built
,
...
...
tools/ccanlint/compulsory_tests/check_depends_exist.c
View file @
357700fd
...
@@ -67,7 +67,7 @@ static const char *describe_depends_exist(struct manifest *m,
...
@@ -67,7 +67,7 @@ static const char *describe_depends_exist(struct manifest *m,
struct
ccanlint
depends_exist
=
{
struct
ccanlint
depends_exist
=
{
.
key
=
"depends-exist"
,
.
key
=
"depends-exist"
,
.
name
=
"CCAN dependencies are present"
,
.
name
=
"
Module's
CCAN dependencies are present"
,
.
total_score
=
1
,
.
total_score
=
1
,
.
check
=
check_depends_exist
,
.
check
=
check_depends_exist
,
.
describe
=
describe_depends_exist
,
.
describe
=
describe_depends_exist
,
...
...
tools/ccanlint/compulsory_tests/check_includes_build.c
View file @
357700fd
...
@@ -58,7 +58,7 @@ static const char *describe_includes_build(struct manifest *m,
...
@@ -58,7 +58,7 @@ static const char *describe_includes_build(struct manifest *m,
struct
ccanlint
includes_build
=
{
struct
ccanlint
includes_build
=
{
.
key
=
"include-main"
,
.
key
=
"include-main"
,
.
name
=
"
Can compile against main header
"
,
.
name
=
"
Modules main header compiles
"
,
.
total_score
=
1
,
.
total_score
=
1
,
.
check
=
check_includes_build
,
.
check
=
check_includes_build
,
.
describe
=
describe_includes_build
,
.
describe
=
describe_includes_build
,
...
...
tools/ccanlint/compulsory_tests/compile_test_helpers.c
View file @
357700fd
...
@@ -57,7 +57,7 @@ static const char *describe_compile_test_helpers(struct manifest *m,
...
@@ -57,7 +57,7 @@ static const char *describe_compile_test_helpers(struct manifest *m,
struct
ccanlint
compile_test_helpers
=
{
struct
ccanlint
compile_test_helpers
=
{
.
key
=
"compile-helpers"
,
.
key
=
"compile-helpers"
,
.
name
=
"
Compiling test helper files
"
,
.
name
=
"
Module test helper objects compile
"
,
.
total_score
=
1
,
.
total_score
=
1
,
.
check
=
do_compile_test_helpers
,
.
check
=
do_compile_test_helpers
,
.
describe
=
describe_compile_test_helpers
,
.
describe
=
describe_compile_test_helpers
,
...
...
tools/ccanlint/compulsory_tests/compile_tests.c
View file @
357700fd
...
@@ -183,7 +183,7 @@ static const char *describe_compile_tests(struct manifest *m,
...
@@ -183,7 +183,7 @@ static const char *describe_compile_tests(struct manifest *m,
struct
ccanlint
compile_tests
=
{
struct
ccanlint
compile_tests
=
{
.
key
=
"compile"
,
.
key
=
"compile"
,
.
name
=
"
Compile tests succeed
"
,
.
name
=
"
Module tests compile
"
,
.
score
=
score_compile_tests
,
.
score
=
score_compile_tests
,
.
check
=
do_compile_tests
,
.
check
=
do_compile_tests
,
.
describe
=
describe_compile_tests
,
.
describe
=
describe_compile_tests
,
...
...
tools/ccanlint/compulsory_tests/has_info.c
View file @
357700fd
...
@@ -72,7 +72,7 @@ static void create_info_template(struct manifest *m, void *check_result)
...
@@ -72,7 +72,7 @@ static void create_info_template(struct manifest *m, void *check_result)
struct
ccanlint
has_info
=
{
struct
ccanlint
has_info
=
{
.
key
=
"info"
,
.
key
=
"info"
,
.
name
=
"
H
as _info file"
,
.
name
=
"
Module h
as _info file"
,
.
check
=
check_has_info
,
.
check
=
check_has_info
,
.
describe
=
describe_has_info
,
.
describe
=
describe_has_info
,
.
handle
=
create_info_template
,
.
handle
=
create_info_template
,
...
...
tools/ccanlint/compulsory_tests/has_main_header.c
View file @
357700fd
...
@@ -36,7 +36,7 @@ static const char *describe_has_main_header(struct manifest *m,
...
@@ -36,7 +36,7 @@ static const char *describe_has_main_header(struct manifest *m,
struct
ccanlint
has_main_header
=
{
struct
ccanlint
has_main_header
=
{
.
key
=
"has-main-header"
,
.
key
=
"has-main-header"
,
.
name
=
"
No
main header file"
,
.
name
=
"
Module has
main header file"
,
.
check
=
check_has_main_header
,
.
check
=
check_has_main_header
,
.
describe
=
describe_has_main_header
,
.
describe
=
describe_has_main_header
,
};
};
...
...
tools/ccanlint/compulsory_tests/has_tests.c
View file @
357700fd
...
@@ -125,7 +125,7 @@ static void handle_no_tests(struct manifest *m, void *check_result)
...
@@ -125,7 +125,7 @@ static void handle_no_tests(struct manifest *m, void *check_result)
struct
ccanlint
has_tests
=
{
struct
ccanlint
has_tests
=
{
.
key
=
"has-tests"
,
.
key
=
"has-tests"
,
.
name
=
"
H
as tests"
,
.
name
=
"
Module h
as tests"
,
.
check
=
check_has_tests
,
.
check
=
check_has_tests
,
.
describe
=
describe_has_tests
,
.
describe
=
describe_has_tests
,
.
handle
=
handle_no_tests
,
.
handle
=
handle_no_tests
,
...
...
tools/ccanlint/compulsory_tests/run_tests.c
View file @
357700fd
...
@@ -125,7 +125,7 @@ static void run_under_debugger(struct manifest *m, void *check_result)
...
@@ -125,7 +125,7 @@ static void run_under_debugger(struct manifest *m, void *check_result)
struct
ccanlint
run_tests
=
{
struct
ccanlint
run_tests
=
{
.
key
=
"run"
,
.
key
=
"run"
,
.
name
=
"
run and api tests run successfully
"
,
.
name
=
"
Module's run and api tests pass
"
,
.
score
=
score_run_tests
,
.
score
=
score_run_tests
,
.
check
=
do_run_tests
,
.
check
=
do_run_tests
,
.
describe
=
describe_run_tests
,
.
describe
=
describe_run_tests
,
...
...
tools/ccanlint/tests/has_info_documentation.c
View file @
357700fd
...
@@ -124,7 +124,7 @@ static unsigned int has_info_documentation_score(struct manifest *m,
...
@@ -124,7 +124,7 @@ static unsigned int has_info_documentation_score(struct manifest *m,
struct
ccanlint
has_info_documentation
=
{
struct
ccanlint
has_info_documentation
=
{
.
key
=
"info-documentation"
,
.
key
=
"info-documentation"
,
.
name
=
"
Documentation in _info file
"
,
.
name
=
"
Module has documentation in _info
"
,
.
total_score
=
3
,
.
total_score
=
3
,
.
score
=
has_info_documentation_score
,
.
score
=
has_info_documentation_score
,
.
check
=
check_has_info_documentation
,
.
check
=
check_has_info_documentation
,
...
...
tools/ccanlint/tests/idempotent.c
View file @
357700fd
...
@@ -133,7 +133,7 @@ static const char *describe_idempotent(struct manifest *m, void *check_result)
...
@@ -133,7 +133,7 @@ static const char *describe_idempotent(struct manifest *m, void *check_result)
struct
ccanlint
idempotent
=
{
struct
ccanlint
idempotent
=
{
.
key
=
"idempotent"
,
.
key
=
"idempotent"
,
.
name
=
"
Headers are #ifndef/#define idempotent
wrapped"
,
.
name
=
"
Module headers are #ifndef/#define
wrapped"
,
.
total_score
=
1
,
.
total_score
=
1
,
.
check
=
check_idempotent
,
.
check
=
check_idempotent
,
.
describe
=
describe_idempotent
,
.
describe
=
describe_idempotent
,
...
...
tools/ccanlint/tests/run_tests_valgrind.c
View file @
357700fd
...
@@ -128,7 +128,7 @@ static void run_under_debugger_vg(struct manifest *m, void *check_result)
...
@@ -128,7 +128,7 @@ static void run_under_debugger_vg(struct manifest *m, void *check_result)
struct
ccanlint
run_tests_vg
=
{
struct
ccanlint
run_tests_vg
=
{
.
key
=
"valgrind"
,
.
key
=
"valgrind"
,
.
name
=
"
run and api tests
under valgrind"
,
.
name
=
"
Module's run and api tests succeed
under valgrind"
,
.
score
=
score_run_tests_vg
,
.
score
=
score_run_tests_vg
,
.
check
=
do_run_tests_vg
,
.
check
=
do_run_tests_vg
,
.
describe
=
describe_run_tests_vg
,
.
describe
=
describe_run_tests_vg
,
...
...
tools/ccanlint/tests/trailing_whitespace.c
View file @
357700fd
...
@@ -41,7 +41,7 @@ static const char *describe_trailing_whitespace(struct manifest *m,
...
@@ -41,7 +41,7 @@ static const char *describe_trailing_whitespace(struct manifest *m,
struct
ccanlint
trailing_whitespace
=
{
struct
ccanlint
trailing_whitespace
=
{
.
key
=
"trailing-whitespace"
,
.
key
=
"trailing-whitespace"
,
.
name
=
"
No lines with unnecessary
trailing whitespace"
,
.
name
=
"
Module's source code has no
trailing whitespace"
,
.
total_score
=
1
,
.
total_score
=
1
,
.
check
=
check_trailing_whitespace
,
.
check
=
check_trailing_whitespace
,
.
describe
=
describe_trailing_whitespace
,
.
describe
=
describe_trailing_whitespace
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment