diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2015-02-07 15:27:29 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-02-09 09:22:26 +0100 |
commit | e940df1c2b14b045083eca74334ed6147ddeee7e (patch) | |
tree | 4306166d1c1b398f194dd596ccd0610241fa8e67 /include/cmocka.h | |
parent | 251cacd762bfd23eb9de8523f0ccc2bb6dffe345 (diff) | |
download | cmocka-e940df1c2b14b045083eca74334ed6147ddeee7e.tar.gz cmocka-e940df1c2b14b045083eca74334ed6147ddeee7e.tar.bz2 cmocka-e940df1c2b14b045083eca74334ed6147ddeee7e.zip |
cmocka: Add Test Anything Protocol message output
This adds support to print test reporting in the Test Anything Protocol.
See http://testanything.org/tap-specification.html
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/cmocka.h')
-rw-r--r-- | include/cmocka.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/cmocka.h b/include/cmocka.h index 0459d43..85e264f 100644 --- a/include/cmocka.h +++ b/include/cmocka.h @@ -1955,6 +1955,7 @@ void vprint_error(const char* const format, va_list args) CMOCKA_PRINTF_ATTRIBUT enum cm_message_output { CM_OUTPUT_STDOUT, CM_OUTPUT_SUBUNIT, + CM_OUTPUT_TAP, CM_OUTPUT_XML, }; @@ -1964,7 +1965,7 @@ enum cm_message_output { * The ouput format for the test can either be set globally using this * function or overriden with environment variable CMOCKA_MESSAGE_OUTPUT. * - * The environment variable can be set to either STDOUT or SUBUNIT. + * The environment variable can be set to either STDOUT, SUBUNIT, TAP or XML. * * @param[in] output The output format to use for the test. * |