ccanlint: exit with non-zero exit status if a test fails.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 04:22:13 +0000 (14:52 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 04:22:13 +0000 (14:52 +1030)
commit678cd10db6d6b81d97f3b98ea0a54657141632ad
treeb6248f7dd6fac54624610cfc07040ce119e484ff
parent7ce5cb9dbdff5aef2a0218539adc6e2e49c659cb
ccanlint: exit with non-zero exit status if a test fails.

This means we change some minor tests to "never fail", eg. whitespace
or documentation tests.  Note that pass/fail is independent of the
score for a test.
12 files changed:
tools/ccanlint/ccanlint.c
tools/ccanlint/ccanlint.h
tools/ccanlint/tests/depends_accurate.c
tools/ccanlint/tests/examples_exist.c
tools/ccanlint/tests/hash_if.c
tools/ccanlint/tests/headers_idempotent.c
tools/ccanlint/tests/info_documentation_exists.c
tools/ccanlint/tests/license_exists.c
tools/ccanlint/tests/no_trailing_whitespace.c
tools/ccanlint/tests/objects_build_with_stringchecks.c
tools/ccanlint/tests/tests_exist.c
tools/ccanlint/tests/tests_pass_valgrind.c