]> git.ozlabs.org Git - ccan/commit
ccanlint: make tests non-compulsory, always print score.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 3 Nov 2010 12:55:57 +0000 (23:25 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 3 Nov 2010 12:55:57 +0000 (23:25 +1030)
commit374d3d2eaa1b29dd3f3a940ca472bb209e95155d
tree2ae2f4713cc6d924edbdf78dfde6220695518e0f
parent3cd1d24a9e2e578890951d723e0461ed13444650
ccanlint: make tests non-compulsory, always print score.

No longer abort ccanlint because a test fails, but you will get a low
score if there are no tests.

(Note: total_score is filled in, even if it's overridden when the test is
 run.  This means that if the prereq fails, that total counts so there is
 still a penalty!)
13 files changed:
tools/ccanlint/ccanlint.c
tools/ccanlint/compulsory_tests/compile_test_helpers.c [deleted file]
tools/ccanlint/compulsory_tests/compile_tests.c [deleted file]
tools/ccanlint/compulsory_tests/has_tests.c [deleted file]
tools/ccanlint/compulsory_tests/run_tests.c [deleted file]
tools/ccanlint/tests/build-coverage.c
tools/ccanlint/tests/compile_test_helpers.c [new file with mode: 0644]
tools/ccanlint/tests/compile_tests.c [new file with mode: 0644]
tools/ccanlint/tests/examples_compile.c
tools/ccanlint/tests/has_tests.c [new file with mode: 0644]
tools/ccanlint/tests/run-coverage.c
tools/ccanlint/tests/run_tests.c [new file with mode: 0644]
tools/ccanlint/tests/run_tests_valgrind.c