This serie aimes to improve the test suite in two ways: 1) make effective use of the 'known-to-fail' tag 2) check the presence or absence of some patterns in the output file The patches are organised like this: - patches 1 & 3 are cleanup some tests - patch 4 adds a test case for -Wenum-mismatch - patch 2 & 6 make effective use of the 'known-to-fail' tag - patches 5 & 8 check the presence or absence of the patterns - patch 9 adds some self checking - patch 10 lets check the number of times a pattern occurs - patch 11: somehow correct a message from the testsuite - patches 12-14: make the testsuite quieter regarding the 'known-to-fail' Changes since V1 - none, it's only a consolidation of two sub-series - add some selfchecking (patch 9) Luc Van Oostenryck (14): testsuite: give a proper name to the 'binary-constant' test testsuite: make tests known to fail effectively fail testsuite: simplify the ioc-typecheck case testsuite: add a simple test for -Wenum-mismatch testsuite: add tag to ignore the output/error testsuite: report as error tests known to fail but which succeed allow to launch the test suite from the project root dir testsuite: check patterns presence or absence in output testsuite: add some selfchecking testsuite: check the nbr of times a pattern should be present testsuite: use 'error' instead of 'info' for successful tests known to fail testsuite: get 'check-known-to-fail' earlier testsuite: allow quieter error reporting testsuite: quieter error reporting for 'known-to-fail' Documentation/test-suite | 20 +++++++ validation/badtype1.c | 4 ++ validation/binary-constant.c | 2 +- validation/enum-mismatch.c | 19 ++++++ validation/ioc-typecheck.c | 12 +--- validation/struct-ns2.c | 6 ++ validation/test-suite | 119 ++++++++++++++++++++++++++++++++++---- validation/testsuite-selfcheck1.c | 10 ++++ validation/testsuite-selfcheck2.c | 10 ++++ validation/testsuite-selfcheck3.c | 10 ++++ 10 files changed, 192 insertions(+), 20 deletions(-) create mode 100644 validation/enum-mismatch.c create mode 100644 validation/testsuite-selfcheck1.c create mode 100644 validation/testsuite-selfcheck2.c create mode 100644 validation/testsuite-selfcheck3.c -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html