aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-02-13Bump version to 1.0.0.rewriteAndreas Schneider1-4/+4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-13Update ChangeLog.Andreas Schneider1-0/+11
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-13include: Use LargestIntegralType instead of uintmax_tAndreas Schneider1-26/+29
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-13include: Fix documentation for mock functionsAndreas Schneider1-7/+7
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-13cmake: Disable some tests on Windows.Andreas Schneider1-0/+3
They work when executed manually but not with ctest. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-12examples: Use WILL_FAIL instead of regular expressionAndreas Schneider1-7/+7
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-12cmake: Fix running examples on Windows.Andreas Schneider1-12/+8
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-12tests: Use a different regex for segfault on WindowsJakub Hrozek1-6/+14
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
2015-02-12cmocka: examples: Fix assert macros usageKrzysztof Opasiak1-10/+3
Replace used macros with more suitable for given context. Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-12cmocka: Surround include info with code endcodeKrzysztof Opasiak1-1/+2
Doxygen makes list of includes hard to read when it is not explicitly marked as code. Surround it with code marks to improve readability. Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-12cmocka: Include cmocka_private.h after cmocka.hJakub Hrozek4-4/+4
cmocka_private.h uses WORDSIZE: # if __WORDSIZE == 64 # define __PRI64_PREFIX "l" But on some platforms, like Solaris, cmocka guesses its own WORDSIZE value in cmocka.h. Therefore it's important to include cmocka_private.h after cmocka.h
2015-02-12cmake: Always set correct output name.Andreas Schneider1-4/+8
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-12include: Correctly include signal.hAndreas Schneider2-1/+4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-12cmake: Fix executing test examples on Windows.Andreas Schneider3-12/+74
The executable need the path to dll set so they can be run successfully. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-12cmake: Build tests with the static library.Andreas Schneider2-2/+6
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-12include: Fix warning for missing __WORDSIZEAndreas Schneider2-0/+3
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-11tests: Add io.h for open() and close() on Windows.Andreas Schneider3-0/+7
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-11cmake: Do not set gcc flags in VC.Andreas Schneider1-1/+3
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-11tests: Fix test_assert_macros* with Visual Studio.Andreas Schneider2-0/+7
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-11tests: Fix building the tests with Visual Studio.Andreas Schneider3-0/+9
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-11config: Add missing define for (v)snprintf functions.Andreas Schneider2-0/+20
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-11cmake: Fix a typo in the optionsAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-11cmocka: Cast correctly to errno typeAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-11include: Add missing functions for Visual Studio.Andreas Schneider2-65/+98
Move the ugly stuff to cmocka_private.h. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-11def: Export missing symbols on Windows.Andreas Schneider1-0/+4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-11cmocka: Fix possible test state issuesAndreas Schneider1-8/+5
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-11include: Define __WORDSIZE if needed.Andreas Schneider1-0/+10
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-11include: Fix pointer casting and add check_expected_ptr()Andreas Schneider5-16/+44
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-10cmocka: Fix a double free in cmprintf_tap()Andreas Schneider1-1/+0
CID: #1268622 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-10cmocka: Initialize group_state in _cmocka_run_group_tests()Andreas Schneider1-1/+1
CID: #1268623 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-10cmake: Turn off deprecated warning for test_cmockery.cAndreas Schneider1-2/+5
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-10include: Define fix defintion of LargestIntegralTypeAndreas Schneider1-32/+36
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-10cmocka: Fix printf integer formats.Andreas Schneider1-4/+36
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-10cmocka: Add printf attribute checking for vcm_print_error()Andreas Schneider1-0/+3
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-10cmocka: Check if 'struct timespec' is available.Andreas Schneider3-2/+20
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-10cmocka: Only handle SIGBUS and SIGSYS if the system supports it.Andreas Schneider1-0/+4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-10cmocka: Fix length calculation.Andreas Schneider1-2/+3
CID: #1268624 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> SQ
2015-02-10cmocka: Allow include of cmocka_platform.hAndreas Schneider3-0/+32
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-10tests: Add message output format testsJakub Hrozek1-0/+62
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
2015-02-10cmocka: Add a newline to subunit error outputJakub Hrozek1-1/+1
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
2015-02-10cmocka: Print test errors directly to make them included in the XML outputJakub Hrozek1-0/+2
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
2015-02-10docs: Mark the old test runner functions as deprecatedJakub Hrozek1-10/+30
Marks the old test runner functions as @deprecated in the doxygen config Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
2015-02-09cmake: Add ctest script.Andreas Schneider1-0/+74
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-09Add cmockery legacy header.Andreas Schneider6-1/+49
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-09include: Add Programming by Contract header.Luis Pabón2-0/+63
Signed-off-by: Luis Pabón <lpabon@redhat.com>
2015-02-09cmocka: Add support for skipping a testJakub Hrozek4-3/+81
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
2015-02-09cmocka: Add Test Anything Protocol message outputAndreas Schneider3-5/+80
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>
2015-02-09cmocka: Add support for xunit reportsJakub Hrozek2-5/+100
Pair-Programmed-With: Andreas Schneider <asn@cryptomilk.org> Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-08cmocka: Add subunit message output typeJakub Hrozek2-3/+67
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
2015-02-08cmocka: Add a function to select the message output typeJakub Hrozek2-7/+43
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>