commit 8939ed38aa1c8e1e7eafb34dd7fa8d3ed569476d
Author: Pawel Szewczyk <p.szewczyk@samsung.com> Date: Mon May 11 13:34:29 2015 +0200 cmocka: Print skipped tests in group summary When running tests with standard output, information about skipped tests can be useful, especially when there are many tests. This commit add number of skipped tests and list of them to group summary. Signed-off-by: Pawel Szewczyk <p.szewczyk@samsung.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 3262ba0e224c693463a837f5c2750086d6ef38ee Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon May 11 13:28:43 2015 +0200 gitignor: Ignore all object file directories commit f6b2efadf805e7ef017ff6afcfdf088023f61e2e Author: Ellie Timoney <elliemt83@gmail.com> Date: Mon May 11 13:26:23 2015 +0200 cmocka: Add subtests for groups using TAP output Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 12ce9a800c6ff9189c004202f019723405003e1d Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Mar 12 12:56:06 2015 +0100 Bump version to 1.0.1 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 782971ecd38c7ac042209bbba33c0c489f7462f1 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Mar 12 12:55:49 2015 +0100 Update ChangeLog. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 78191eaebfa2fc212ea4ade51e2b67c468e84834 Author: Niels de Vos <ndevos@redhat.com> Date: Thu Feb 26 21:47:03 2015 +0100 cmocka: realloc(ptr, 0) should act as free(ptr) Currently, realloc(ptr, 0) does not free the pointer as specified by 'man 3 realloc': The realloc() function changes the size of the memory block pointed to by ptr to size bytes. [...] if size is equal to zero, and ptr is not NULL, then the call is equivalent to free(ptr). [...] This causes a leak of the allocated memory, and tests that use this particular realloc() pattern fail. Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Hrozek <jakub.hrozek@posteo.se> commit 710400b8c71b97e97b85addaefead4489743c108 Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Wed Feb 25 09:09:35 2015 +0100 Fix function types in doxygen docs Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 8c7d098d81bdfed92982e4b55dc1f8e3199e314a Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Feb 20 15:06:18 2015 +0100 cmake: Use https to drop results. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit d7ab572b7db2a139fe68506747c3effb7b960114 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Feb 20 09:48:36 2015 +0100 include: Add macro for assert_ptr_equal(). Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 5d5fb5afc3811f9f56e69ce5acb4614e32a7c969 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Feb 20 09:47:44 2015 +0100 include: Fix building with newer gcc versions. __func__ is not a macro. We just need to define it on Windows for now. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit bcad709cbac4fc67d922435eeeb20ab7f5286a81 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Feb 16 15:22:38 2015 +0100 cpack: Exclude object directories. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit eb215c1e50d2857a594b87d86c268316fdb9adbe Author: Andreas Schneider <asn@cryptomilk.org> Date: Sun Feb 8 13:49:51 2015 +0100 Bump version to 1.0.0. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 9433614b22a2f74f24d24ecfac25744e12ca42fa Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Feb 7 18:07:32 2015 +0100 Update ChangeLog. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 43a98920f554addfaf0ed05668ca2d12861039cf Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Feb 13 13:36:52 2015 +0100 include: Use LargestIntegralType instead of uintmax_t Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 83a03ddad073a73fa8351857b5801ca44f221e78 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Feb 13 13:08:17 2015 +0100 include: Fix documentation for mock functions Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 43e336bc96f7d6da5daa030c65c9c6bd19b04fbc Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Feb 12 19:44:39 2015 +0100 cmake: Disable some tests on Windows. They work when executed manually but not with ctest. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 3e2921fa0fd4094bd684dc60271bc51cb01d5082 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Feb 12 19:17:46 2015 +0100 examples: Use WILL_FAIL instead of regular expression Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 4d858265d9177dbfbfacff79806da4ab18e30e21 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Feb 12 18:34:17 2015 +0100 cmake: Fix running examples on Windows. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 85b710d94e7ff39ba202798a906841fb2312ca93 Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Thu Feb 12 18:05:16 2015 +0100 tests: Use a different regex for segfault on Windows Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> commit 28eafc83094cec28d18d73a4c3465be7a6238c29 Author: Krzysztof Opasiak <k.opasiak@samsung.com> Date: Thu Feb 12 14:11:41 2015 +0100 cmocka: examples: Fix assert macros usage 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> commit dc6289c4ac8790d79f9ac3a673d227e471041cca Author: Krzysztof Opasiak <k.opasiak@samsung.com> Date: Thu Feb 12 14:11:37 2015 +0100 cmocka: Surround include info with code endcode 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> commit d0ef24c83a67a07f0bba34ce46371e704d1c0654 Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Thu Feb 12 17:10:21 2015 +0100 cmocka: Include cmocka_private.h after cmocka.h 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 commit fae9be0f837cf515c6ab46a986accbd32b0dec23 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Feb 12 17:05:39 2015 +0100 cmake: Always set correct output name. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit e97f3bd69bd1f0c6f6d6467b57739279c77a0b1b Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Feb 12 17:00:34 2015 +0100 include: Correctly include signal.h Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 8798b43ea565927b3dbdc387cd0649dc422cdcd8 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Feb 12 09:14:10 2015 +0100 cmake: Fix executing test examples on Windows. The executable need the path to dll set so they can be run successfully. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit c180601e564bcbf2ec2d143963ca22a3effdb9fe Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Feb 12 09:03:16 2015 +0100 cmake: Build tests with the static library. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit e7d3455e9d0f9393dc8055a7fd89c93fa5236d5a Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Feb 12 09:00:17 2015 +0100 include: Fix warning for missing __WORDSIZE Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 328288bd88a043cf2fefcd10f1efd892414f4a11 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Feb 11 18:13:55 2015 +0100 tests: Add io.h for open() and close() on Windows. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit f7a55ba7805b6f41c640e86f33394bbe48d595e5 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Feb 11 18:09:55 2015 +0100 cmake: Do not set gcc flags in VC. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 609d21b6293991743f9218037033412661147156 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Feb 11 18:00:11 2015 +0100 tests: Fix test_assert_macros* with Visual Studio. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 8794c46a0094eea70cc2122ffeebf00e8ed926f4 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Feb 11 17:57:28 2015 +0100 tests: Fix building the tests with Visual Studio. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 237819afda29accc5e1e98ba3fbed6fee29d5ca9 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Feb 11 17:44:37 2015 +0100 config: Add missing define for (v)snprintf functions. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit ed5853db0383db0903448012957b928795f72f6d Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Feb 11 17:36:10 2015 +0100 cmake: Fix a typo in the options Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 54a185516d4c1719e38b10a104560821b32fbad3 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Feb 11 11:20:08 2015 +0100 cmocka: Cast correctly to errno type Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 0aa331893f9ffeb40147b1448fee7467552d8c09 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Feb 11 11:19:40 2015 +0100 include: Add missing functions for Visual Studio. Move the ugly stuff to cmocka_private.h. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit d06164e3cb97689413dc8ae5c965d59bf25f9b94 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Feb 11 11:19:10 2015 +0100 def: Export missing symbols on Windows. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 4e5456783384675c3d159073948cea6b54195535 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Feb 11 08:21:43 2015 +0100 cmocka: Fix possible test state issues Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit dabc59d760226559e2ef8174ddc5fb45878bf106 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Feb 11 08:10:07 2015 +0100 include: Define __WORDSIZE if needed. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit f02f7357187e9b80da1dd7539333bc0c3a134987 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Feb 11 07:55:47 2015 +0100 include: Fix pointer casting and add check_expected_ptr() Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit c1332c257e73cb4c8f07158a4d6b639b6d6fb291 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Feb 10 15:36:13 2015 +0100 cmocka: Fix a double free in cmprintf_tap() CID: #1268622 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit e0011bdcca0d4190a9708ddfd9d70464b2123330 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Feb 10 15:34:23 2015 +0100 cmocka: Initialize group_state in _cmocka_run_group_tests() CID: #1268623 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit a006e2e9a5773f1fdbdf4920621769833e00fe46 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Feb 10 15:05:37 2015 +0100 cmake: Turn off deprecated warning for test_cmockery.c Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 1e0d8fa050a78d2ee00860325a2582a575aedb3f Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Feb 10 10:59:15 2015 +0100 include: Define fix defintion of LargestIntegralType Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit a1bfbd86b20877a20c1e5f70271b3cf3d94a01a0 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Feb 10 10:53:32 2015 +0100 cmocka: Fix printf integer formats. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit b470f1d71459f12b1c0440f6c69f33a1f27a2db6 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Feb 10 08:11:30 2015 +0100 cmocka: Add printf attribute checking for vcm_print_error() Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 62b876a0b5da8c452780fd7c3b9c1d95cede3a81 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Feb 9 13:39:57 2015 +0100 cmocka: Check if 'struct timespec' is available. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 5c864f6448d221541c1f425f3f2593061793f2da Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Feb 9 14:42:34 2015 +0100 cmocka: Only handle SIGBUS and SIGSYS if the system supports it. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 2c46e7dedeebac10444636356f79161a60e796e6 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Feb 10 08:07:16 2015 +0100 cmocka: Fix length calculation. CID: #1268624 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> SQ commit 08860c880dddc65e26efd515214b1ab1e3ad25dd Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Feb 10 08:23:25 2015 +0100 cmocka: Allow include of cmocka_platform.h Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 4132396b15da65bd3b6d5a756a78ac57217bbb2d Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Mon Feb 9 23:44:59 2015 +0100 tests: Add message output format tests Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> commit 2b8d59392306b09b24b0d8c580d3bb452f1ccbd6 Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Tue Feb 10 11:12:00 2015 +0100 cmocka: Add a newline to subunit error output Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> commit 6545ee8e2b4324f4cc1d54dacac320831035c15a Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Tue Feb 10 13:03:03 2015 +0100 cmocka: Print test errors directly to make them included in the XML output Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> commit bdf5366ca650e5f4452d8a74320d4a524b935b7d Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Mon Feb 9 21:52:30 2015 +0100 docs: Mark the old test runner functions as deprecated Marks the old test runner functions as @deprecated in the doxygen config Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> commit a0f172b035a10996124a965783a4a52d83611c57 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Feb 9 13:16:07 2015 +0100 cmake: Add ctest script. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> create mode 100644 tests/ctest-default.cmake commit bff3a2705048926fd03ec669fe3c10ddaf5d081c Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Feb 7 18:14:46 2015 +0100 Add cmockery legacy header. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> create mode 100644 include/cmockery/cmockery.h create mode 100644 include/cmockery/pbc.h create mode 100644 tests/test_cmockery.c commit 236ed5c00ab215eb7382b6d908cd3fe589bffebc Author: Luis Pabón <lpabon@redhat.com> Date: Sat Feb 7 18:18:12 2015 +0100 include: Add Programming by Contract header. Signed-off-by: Luis Pabón <lpabon@redhat.com> create mode 100644 include/cmocka_pbc.h commit 8bfb195065bc9e4d71c663bf874fc8d8c81a4cd0 Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Sat Feb 7 17:48:06 2015 +0100 cmocka: Add support for skipping a test Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> create mode 100644 tests/test_skip.c commit e940df1c2b14b045083eca74334ed6147ddeee7e Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Feb 7 15:27:29 2015 +0100 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> commit 251cacd762bfd23eb9de8523f0ccc2bb6dffe345 Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Thu Feb 5 17:05:56 2015 +0100 cmocka: Add support for xunit reports 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> commit b14b55efa6700f164dee6e129cc481375a605b0f Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Wed Feb 4 18:38:38 2015 +0100 cmocka: Add subunit message output type Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> commit 3e3d6be03d7c596e3ded99061ff70e2bed2a4b2a Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Wed Feb 4 18:01:02 2015 +0100 cmocka: Add a function to select the message output type Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> commit 3e8d86a7adedd0645e4edb2954f045cb93fa82cc Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Sat Feb 7 10:41:46 2015 +0100 doc: Update cmocka documentation for new environment variables Adds documentation for the new XML and subunit output. Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> commit 41e0fc525878d680d257b62fef5af406ee1fab4b Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Sep 15 09:47:53 2014 +0200 doc: Update cmocka documentation for new test runner. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 19c17a3fce29db8b148b05b1762a86072a324012 Author: Andreas Schneider <asn@cryptomilk.org> Date: Sun Sep 14 20:05:06 2014 +0200 cmocka: Mark run_tests as deprecated. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 1ae54cae5c410dec2ef416ada937e5d05641b3bf Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Wed Feb 4 17:48:42 2015 +0100 cmocka: Add new message printing formatter for testcases Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> commit 5ebe0830a1d025a148c25d474215dd6124524723 Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Sat Feb 7 15:18:25 2015 +0100 tests: Add a test for failing group setup Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> create mode 100644 tests/test_group_setup_fail.c commit 5e8c5d90db2c55e203c11dbbec91c3e44bcb2023 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Sep 12 17:18:57 2014 +0200 tests: Use new cmocka test runner in our tests and examples Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 05c73e1d3d7693b2ff0f1a5f8c39a6e32c7a2f38 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Feb 5 10:45:30 2015 +0100 cmocka: Add support to print errors into a buffer. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 4b68c98d420fffd06d205179734c84b67959deae Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 20 10:17:03 2014 +0200 cmocka: Add correct checks for clock_gettime(). Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 5c315f7e720daa45796b5f82493b0c4624fbb7e0 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Sep 5 17:02:04 2014 +0200 cmocka: Implement a new test runner. Pair-Programmed-With: Jakub Hrozek <jakub.hrozek@posteo.se> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> commit 28f3315e86fb91926ec2ebd217af5a7a106e7d2a Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Feb 6 11:50:41 2015 +0100 tests: Add tests for test_malloc() and test_realloc(). Signed-off-by: Andreas Schneider <asn@cryptomilk.org> create mode 100644 tests/test_alloc.c commit 5c61f539bb359770d54ce32413cd781b617485b3 Author: Jakub Hrozek <jakub.hrozek@posteo.se> Date: Sat Feb 7 16:27:31 2015 +0100 cmocka: Add explicit libc_alloc, realloc, free Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> commit 42c0012a73aaa04d1d589411e44d01124cb7c131 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Feb 6 11:50:05 2015 +0100 cmocka: Add a test_realloc() function. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit e55cf4cab3ddf422ef5252a98eaa8639583f67e2 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Feb 6 11:51:22 2015 +0100 cmocka: Allow test_free() to deal with NULL pointers. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 6a31004a12cab35bfa3bdbb4fb6f3bd7127a429a Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Sep 11 17:19:27 2014 +0200 cmocka: Make global variables thread local. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 0626feeed1c998159fb8c7c5a752836a543fb2c8 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Sep 11 17:07:50 2014 +0200 cmake: Add configure checks for thread local storage. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 228974705c2860cfb0ae82460ce2ad8e642491a5 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Sep 11 17:10:56 2014 +0200 config: Remove unused options. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit e0e7c23fafabe8b43087948f0efbbdfee290df36 Author: Andreas Schneider <asn@cryptomilk.org> Date: Sun Sep 14 20:09:27 2014 +0200 cmocka: Use ARRAY_SIZE everywhere. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit d4b2fff66cebf90ff76ef4c1f61193dcd41e824d Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 20 10:13:27 2014 +0200 config: Fix define for strsignal(). Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit de142cdb61291141c930f0fcfeed29b45c837d7d Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Sep 30 16:32:46 2014 +0200 cmocka: Fix setting size_of_set in expect_set(). BUG: https://open.cryptomilk.org/issues/34 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 815ad9613f63983284bb86fdd6f27791ac871a86 Author: Jakub Hrozek <jakub.hrozek@gmail.com> Date: Tue Jul 29 10:22:31 2014 +0200 GNU_SOURCE is not a compiler flag This line in DefineCompilerFlags.cmake always passed: check_c_compiler_flag("-D_GNU_SOURCE" WITH_GNU_SOURCE) because -D$string just defined a preprocessor macro, so the compilation would always succeed. On UNIX platforms, with GCC or LLVM compilers, we want to always use GNU_SOURCE. commit 2487f7ad732b7f62605b14a1d9520ff68cb17054 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Aug 7 13:29:33 2014 +0200 cmake: Use standard cmake variables in CMakeLists.txt. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit a083c088b60dd2055bc6d852635b9589d62b6bc1 Author: Emil Velikov <emil.l.velikov@gmail.com> Date: Fri Jul 25 14:31:24 2014 +0100 cmocka: do not use # with the %p printf modifier Missed out during while amending commit 61b2b557951(cmocka: use %p to printf a pointer). Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit d07cff1b13af4fde05d2fa081c7f33c115ecf841 Author: Emil Velikov <emil.l.velikov@gmail.com> Date: Fri Jul 25 14:31:23 2014 +0100 cmocka: use ISO C99 PRIu64 over LargestIntegralTypePrintfUnsignedFormat With commit commit 8642ef21b07(cmocka: introduce LargestIntegralTypePrintfUnsignedFormat modifier) we introduces this superfluous macro in order to work around the differences when printing 64bit unsigned integer values. Rather than reinventing the wheel use the C99's PRIu64 and fall back locally to their platform/compiler specific counterparts if the inttypes.h header does not exist. Thanks to scythe from the #cmocka channel for pointing out. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 8642ef21b07e025a9aa117867811a725e2fb597e Author: Emil Velikov <emil.l.velikov@gmail.com> Date: Sat Jul 19 18:51:18 2014 +0100 cmocka: introduce LargestIntegralTypePrintfUnsignedFormat modifier The modifier is almost identical to LargestIntegralTypePrintfFormat in terms that it handles 64bit integer values, but unlike the latter it prints them as unsigned value. Behind the scenes it uses %I64u for windows, and %llu otherwise. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 61b2b557951a88441a88e37bb0014e158cc8a14d Author: Emil Velikov <emil.l.velikov@gmail.com> Date: Sat Jul 19 18:51:19 2014 +0100 cmocka: use %p to printf a pointer Allegedly some versions of MSVC do not prefix the address with 0x whenever %p is used, while gcc (mingw-w64) always do. There is no clear way around this without providing a custom define, which currently is an overkill imho, as there is only one use-case. Silences the following warning when building with mingw-w64 cmocka/src/cmocka.c:1636:25: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘PVOID’ [-Wformat=] Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 606ba3cb75e0ffccf609003c7c45eb3479231396 Author: Michael Adam <obnox@samba.org> Date: Thu May 29 16:00:11 2014 +0200 cmocka: fix doxygen comment for assert_not_in_range() Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 27f19ebaff0cda7559a9ced608bd94dc9cc7241d Author: Michael Adam <obnox@samba.org> Date: Thu May 29 15:57:37 2014 +0200 cmocka: fix doxygen comment for assert_in_range() Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit c3ee48dea76f0dab06e2b3d60cacfe0165b6e8e9 Author: Michael Adam <obnox@samba.org> Date: Thu May 29 15:55:11 2014 +0200 cmocka: fix doxygen comment for assert_return_code() Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 401ac92ec57a67ed42f5c5b86a23ab079e568818 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu May 22 14:40:35 2014 +0200 Bump version to 0.4.1. commit 6e44d3eaba90eba69f178cf95f7bace542a6dd8d Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu May 22 14:34:11 2014 +0200 cmake: Fix cmocka cmake-config files. commit 12b3daf6096b3fc6766b4c40a030fd3eb9b1f2e5 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 20 11:03:39 2014 +0200 doc: Improve documentation for fail_msg(). BUG: https://open.cryptomilk.org/issues/29 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 9f0079df7e73e3ae2fde35fb371186e775d7b235 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Apr 16 15:46:10 2014 +0200 cmake: Install cmake config to the correct directory. commit 0c3529c2744878508120341b33d3bbb825703b45 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Apr 15 17:21:30 2014 +0200 cmocka: Fix type of number_of_test_states which can be negative. commit 636d58ea975fda78ff51c1895f9de647a548dc8a Author: Sebastian Dröge <sebastian@centricular.com> Date: Tue Apr 15 14:38:07 2014 +0200 Correctly report the number of tests without the number of setup/teardown functions included Reviewed-by: Andreas Schneider <asn@samba.org> commit 4bf87f329493cdbb8acef403be2a26a325da97cc Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Apr 15 16:58:25 2014 +0200 cmocka: Add CMOCKA_TEST_ABORT env variable to leave threading apps. BUG: https://open.cryptomilk.org/issues/26 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> commit 3488c7fe316c9cae6c6f2891e5df4ee151401a52 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Apr 15 16:49:07 2014 +0200 coverity: Add _assert_return_code model. commit 2fa79b726e6d802e74f5aa43786004a1b9605f77 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Apr 14 09:23:23 2014 +0200 cmake: Ignore .ycm_extra_conf.pyc. commit 80812a2dcb05d02596e61769583dd98fd7568906 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Apr 11 16:49:27 2014 +0200 doc: Document the group functions. commit 1e99cc2d5ddfaaddab9d518c52f1cb83b9ce8cfd Author: Sebastian Dröge <sebastian@centricular.com> Date: Fri Feb 7 17:51:21 2014 +0100 include: Fix count parameter of expect_check() macro It was always using 0, which meant that the values were never ever used. This commit changes it to 1, which is consistent with the other macros. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 8ff6c2f13c3945f2409fd54dd05b0211e4b9f955 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Apr 11 15:22:07 2014 +0200 Bump version to 0.4.0. commit c835170c575a71d4e7666da9c123c3ce2c908c22 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Apr 11 15:43:12 2014 +0200 cmocka: Define inline if not defined with MSVC. commit 5988e5e27e21c79199677d24fb3ff2bf93677a19 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Apr 11 14:44:48 2014 +0200 Add YouCompleteMe config. You should use 'obj' as your build directory. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> create mode 100644 .ycm_extra_conf.py commit 01898b8bada0f96adfec6f47a4e888845cab172d Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Dec 23 19:06:11 2013 +0100 tests: Add test_group_fixtures. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> create mode 100644 tests/test_group_fixtures.c commit a046988ac4135ec63f6b19172cdcdae7ef123869 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Dec 23 19:05:14 2013 +0100 cmocka: Add support for test groups. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> commit 93cd14ba4cd46626313ced8582f76a1b1bceb349 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Apr 10 11:28:22 2014 +0200 cmake: Update UseDoxygen.cmake. create mode 100644 doc/Doxyfile.in delete mode 100644 doc/doxy.config.in commit 14ee9c684e69bb00eaeb0043d06cde7d58effe33 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Apr 10 11:23:17 2014 +0200 tests: Improve the fixture test. This way we make sure we don't run into an assert if we have more teardown functions than setup functions. commit f67534a5dab41134e1a117a49f438b8c9a89ae42 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Apr 10 11:22:16 2014 +0200 cmocka: Add a dummy function for setup and teardown. We need a matching number for setup and teardown functions else we can run in an assert. So this adds a dummy which doesn't do anything. commit 1704824a0b343a70ca8149a20dad36752cb3d341 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Apr 9 10:10:57 2014 +0200 cmake: Create the compile command database by default. commit 39310988d058ca8171315984188641562b0669b4 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Apr 9 10:10:48 2014 +0200 doc: Fix some typos. commit 70c723c5d39555f97cf37feb60255118ca68e14e Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Wed Feb 26 13:45:02 2014 +0100 Test should not be run if setup function fails Assertions are commonly used in setup function. If setup function fail test should not be executed, because it may result into unexpected behaviour (crash) Reviewed-by: Andreas Schneider <asn@cryptomilk.org> create mode 100644 tests/test_setup_fail.c commit e6e99619e760076198281daa5042edb4f9840509 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Wed Feb 26 13:46:18 2014 +0100 basic_test should be run with other CMOCKA_TESTS Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 82ca8f9d41238b3e13b45a1c04489cf608842b9c Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Fri Feb 21 11:45:27 2014 +0100 Use prefix for commonly used macro PRINTF_ATTRIBUTE It may cause warning: /usr/include/cmocka.h:50:0: warning: "PRINTF_ATTRIBUTE" redefined [enabled by default] Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit a1e707b30ad819b15445d785819516ad58da4aa2 Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Fri Feb 21 11:58:03 2014 +0100 Enable warning Wundef It is better to use "#ifdef" for testing macros instead of "#if" In header file, "#ifdef DOXYGEN" was used 30 times and "#if DOXYGEN" 23 times. This patch makes it consistent and enable warning Wundef to prevent this kind of issues. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 1e56a5646d30594e3174a9811d5b1bb7bd4bd77d Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Fri Feb 21 13:37:46 2014 +0100 Use static modifier for temporary_buffer temporary_buffer is used only in the module calculator_test.c It's better to use use static modifier explicitly in this case. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 5ffa6568eb2d48a4029c8dbdfc0f1898b7c5151d Author: Lukas Slebodnik <lslebodn@redhat.com> Date: Fri Feb 21 11:22:50 2014 +0100 Use better formatting string for printing numbers Numbers were printed as hexadecimal.n eror message, It is good practice to print "0x" before hexadecimal numbers, because it may be confusing without this. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit dff5afdd18ac73b7a4055bab3fad1bc59fa30056 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jan 22 15:50:40 2014 +0100 cmake: Do not build the chef_wrap example on OSX. commit 3770c5dc8f0718d849eb1d73c29c0b33db253c49 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jan 20 23:39:19 2014 +0100 cmake: Add cmake config mode support. create mode 100644 cmocka-build-tree-settings.cmake.in create mode 100644 cmocka-config-version.cmake.in create mode 100644 cmocka-config.cmake.in commit 11df27bbf33664611840abca158d4f75e79eaa0b Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Dec 24 09:26:42 2013 +0100 tests: Close the fd in test_assert_macros_fail. This is not really necessary but it fixes Coverity. CID #1146810 commit c2ba3eb9d659b612bddef2509083c1e32cc1105f Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Dec 23 19:58:34 2013 +0100 Revert "tests: Use internal allocation for test_fixtures." This reverts commit eb3613e6b4c7b1d6d3a6593bd20ce8654e6bc5b8. commit a950999c0266e4bfe4e4d59b72bf00318129f1a4 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Dec 23 16:16:01 2013 +0100 cmocka: Fix typo in the docs. commit f781fb19b98e73446cffb7d6294f6935edd94cb4 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Dec 23 16:13:51 2013 +0100 cmake: Run examples in 'make test' too. commit e21d7d968f875a706160b219bd51101723ca0322 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Dec 23 16:12:23 2013 +0100 tests: Add test_basics. delete mode 100644 example/run_tests.c create mode 100644 tests/test_basics.c commit eb3613e6b4c7b1d6d3a6593bd20ce8654e6bc5b8 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Dec 23 19:06:07 2013 +0100 tests: Use internal allocation for test_fixtures. commit 8687e1b807393a152f32f6573c19cb97f509cb5c Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Dec 23 16:07:46 2013 +0100 tests: Add test_fixtures. delete mode 100644 example/fixture_test.c create mode 100644 tests/test_fixtures.c commit c154b2166173446df59b864ca997ba5ad6fd6c8e Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Dec 23 16:06:04 2013 +0100 tests: Add test_exception_handler_fail. delete mode 100644 example/segfault_test.c create mode 100644 tests/test_exception_handler.c commit b2a9d09d757d43aec620bc6a611c4ab810258891 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Dec 23 16:03:50 2013 +0100 tests: Add test_assert_macros_fail. create mode 100644 tests/test_assert_macros_fail.c commit 3fca34362115c256fffce3dd68ff878c86153c95 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Dec 23 16:00:07 2013 +0100 tests: Add test_assert_macros. create mode 100644 tests/CMakeLists.txt create mode 100644 tests/test_assert_macros.c commit 417b92df7023a32c0b2775d59f1816b629e0a9b9 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Dec 23 15:38:00 2013 +0100 cmocka: Add assert_return_code(). commit e0795bf0e541f9997f1cba27113d0e97a2b55370 Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Dec 21 17:22:35 2013 +0100 example: Define UNIT_TESTING in run_tests.c. This makes sure we ue the unit test allocators. commit 4bf9142bb304c1f6a98a4152b321f31aba8a39a3 Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Dec 21 17:19:22 2013 +0100 cmake: Fix calling the assert_module test. commit e35d8445f29082127d187c9d835479a688539308 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Dec 19 18:00:17 2013 +0100 doc: Improve the API mainpage. commit be3f313e87096dc8c1ffce00550a7d803635c721 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Dec 13 10:54:53 2013 +0100 example: Add the most simple test with cmocka. create mode 100644 example/simple_test.c commit 443bc01435f83d02e8a08e6c2ab10851b1b27652 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Dec 13 10:51:04 2013 +0100 example: Fix exception handler test on Solaris. commit 0e7737eded192cfb98f475c896cea92fe20d62b5 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Dec 13 10:55:11 2013 +0100 Add obj directory for config.h to .clang_complete. commit d81fb9099ff51e34d10866b4cf03eee5b07f9b2f Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Dec 11 18:52:12 2013 +0100 example: Add an exampele to test exception handling. create mode 100644 example/segfault_test.c commit faef9724d687152309222d212ea159656e29340e Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Dec 11 18:51:25 2013 +0100 cmocka: Print better message for exceptions. commit 8aaf97c6b4b26375bf36dc8be84323d7e16c32aa Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Dec 11 18:51:04 2013 +0100 config: Add missing define for strsignal(). commit 51ac2becc77b58c80c5fb44dae7aca2cbe896662 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Nov 28 14:10:03 2013 +0100 cmake: Fix compilation with -D_FORTIFY_SOURCE. commit de5adf3ecbd06d8227e52321df1f7d7975ddf560 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Nov 6 09:25:38 2013 +0100 Add obj directory to .gitignore. commit ba9759f7604577203f4e5bd671b36adf0962d86a Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Nov 6 08:13:01 2013 +0100 cmake: Exclude obj directory. commit 1cc01e40f5c2ece6565b3e1a5ac19f923c6ebef2 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Nov 6 07:54:45 2013 +0100 Update ChangeLog. commit 84ee44e24ff4848df9b00cc1f4100668fe4c83ee Author: Travis Hendrickson <trav.hendrickson@gmail.com> Date: Sun Oct 27 15:58:29 2013 +0100 include: Don't stringify twice with will_return_always(). commit 5c8a0fb3a07912aad0121b948092cb108a958ec9 Author: Andreas Schneider <asn@cryptomilk.org> Date: Sun Oct 27 15:54:53 2013 +0100 include: Fix unit_test_teardown macro. create mode 100644 example/fixture_test.c commit fc5f1448acafd56630c23ce978d835982c00f40c Author: Aleksandr Vinokurov <aleksandr.vinokurov@billing.ru> Date: Wed Aug 21 18:38:39 2013 +0400 Fix GTest and GCC message style conformance Move file:line ids to the beginning of the strings, adding 'note' levels as in GCC style commit e121e9b1580d86ce614ec9572d74174c33567904 Author: Andreas Schneider <asn@cryptomilk.org> Date: Sun Aug 11 12:12:05 2013 +0200 doc: Update the main doc page. commit 2e0b2acb810e8e63a80e5b55af552d83145878e8 Author: Andreas Schneider <asn@cryptomilk.org> Date: Sun Aug 11 12:11:50 2013 +0200 cmake: Disable broken latex doc generation. commit d684142a3c8147daafe51686243536212a753c96 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jul 29 19:35:34 2013 +0200 include: Correctly define unit_test_setup() and unit_test_teardown(). Thanks to James Grenning <james@grenning.net>. commit c69d643581fd9eea780429a0fb77fb8993181044 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jul 29 19:39:46 2013 +0200 coverity: Add modeling file for assert functions. create mode 100644 coverity/README create mode 100644 coverity/coverity_assert_model.c create mode 100644 coverity/coverity_internal_model.c delete mode 100644 coverity/coverity_model.c commit ce9c96b9e962f618804c7303e866098342d4d528 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Jul 25 23:03:02 2013 +0200 README: Fix a typo and improve cmocka cmldine. Thanks to James Grenning <james@grenning.net>. commit 939e82c4b8bdcfe798677617bf788272597aa997 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 24 11:15:25 2013 +0200 cmake: Fix description and display name. commit 090a440915bd9961620eb42afb70cf2b08619289 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 24 11:13:07 2013 +0200 cmake: Fix a typo in FindNSIS. commit f9aef5290d8abd59bab1c8fc4e9ae680822be0eb Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 24 11:09:11 2013 +0200 cmake: Update FindNSIS module. commit 8aa85466dffce7d8e4febb5e1aa9aebe0bea5297 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 24 10:43:11 2013 +0200 cmake: Fix homepage url. commit 358ecf327d12ec4db38f2acd7476a39dfc2eaf27 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 24 10:21:56 2013 +0200 cmake: Bump version number and so version. commit 4a4e9117089ca3fed8f248301481cb86d3b4f1e7 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 24 10:08:44 2013 +0200 example: Add missing stdlib.h. This fixes a build error on Windows. commit c367df5669d029489713664c3ce909009c3fafb0 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 24 10:03:31 2013 +0200 Add .gitignore. create mode 100644 .gitignore commit 8d3e410068e1c848263ab08f12892739658f686e Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 24 10:00:19 2013 +0200 include: Don't redefine uintptr_t on Windows. Visual Studio defines _UINTPTR_T_DEFINED if we have uintptr_t. commit 00df1ba097c973cd33f4f381178668db83705493 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 24 08:19:25 2013 +0200 cmake: Set nightly start time to UTC. commit ab9e9c1d2c24f3e9770d532dd9d89b75c44b4b9a Author: Pavel Březina <pbrezina@redhat.com> Date: Thu Jul 18 13:19:08 2013 +0200 Add new macro will_return_always Signed-off-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 6f4d5735a0a1db705252d2ee8054475d1dc9e9b5 Author: Pavel Březina <pbrezina@redhat.com> Date: Wed Jul 17 11:07:39 2013 +0200 Add new macro fail_msg Signed-off-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 04cff96defb83981a50e56e37b361d1424dc50ac Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Jul 12 12:23:18 2013 +0200 cov: Add coverity modeling file. create mode 100644 coverity/coverity_model.c commit c3ed974e50e3bb8a13d0a8646261018a2487f168 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 10 16:37:39 2013 +0200 cmake: Pass _FORTIFY_SOURCE directly to the preprocessor. commit d4288852570c773a3845811f6d5cc14355900027 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 10 15:29:49 2013 +0200 cmake: Bump version to 0.3.1. commit 805267d0dfcf3b572c1f86fdcf239b36566f64c0 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 10 15:21:25 2013 +0200 src: Fix a typo. commit c89762bba98548121e6601a83df91bd328d87013 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 10 15:19:26 2013 +0200 src: Fix ValuePointer conversion on 32bit big endian. commit b09c2c9dd7e6c2d9881de1b9350659694b36adab Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jul 10 12:53:34 2013 +0200 example: Fix customer database test on big endian. commit 7ac0b320e19a2ae6a65e641698c802a7738e0ab6 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 11 09:50:43 2013 +0200 examples: Fix memory leaks in the waiter_test. commit 894127b7e947dbf049eb71c7498395afb34c092c Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 11 09:41:11 2013 +0200 examples: Fix build warning in waiter_test. commit 427ae824c2bcd48905873cef0b1a3d122d175b88 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jun 5 12:07:24 2013 +0200 Update AUTHORS file. commit 8ae727a07a15b034c4efd6db3e994b4bf980ea79 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jun 5 08:29:27 2013 +0200 Change version number of the package. commit b6b8101711b6eb7480dfb75c7d1cbf28c2de43f5 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Jun 5 08:16:15 2013 +0200 Fix date in the changelog. commit eda20ec3c162fe2b10f9d088d84861724d06fbb7 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 18:16:38 2013 +0200 doc: Add some more documentation for Mock Objects. commit 0f862618ca6d86fa32890ec85d810df244fb9df8 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 16:39:42 2013 +0200 doc: Document expect_memory(). commit ac9d31e5f853f07cdfd8cd874878fb3c1c097f0c Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 16:32:33 2013 +0200 doc: Document expect_any(). commit eb8cfda5b21ac239d1cb68ff9f48cacb8d931181 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 16:32:25 2013 +0200 doc: Fix doc build. commit 1a197953e48de3e6ffd85f0f894564c8e8bec934 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 16:01:20 2013 +0200 doc: Document expect_value(). commit 1bdef1cf65dc0d044ee165cb82b1856347962bcc Author: Jakub Hrozek <jhrozek@redhat.com> Date: Tue Jun 4 14:51:48 2013 +0200 doc: document expect_range family of functions Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 7fa4f6007f74b48e3c2f268434afcb6a87ef5333 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 14:04:44 2013 +0200 doc: Fix the doc of the count parameter in expect_*(). commit 3e68955931ce975358b9279637a50df3f9c64bb1 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 13:49:07 2013 +0200 doc: Fix typo in expect_not_in_set_count(). commit 66a4476d8fffdf3ed16ea88bad9deb005e84ed0f Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 13:47:01 2013 +0200 Add cmocka-0.3.0 changes to ChangeLog. commit 96144552409895a7d7e25a76935e8363f2c785e0 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 12:47:42 2013 +0200 doc: Add comment to check_expected(). commit 5a3b6d062a548e8a267151104d297c3dbeec1253 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 12:46:16 2013 +0200 doc: Add example for parameter checking. commit 1ad0e1727ff726c6ffc053d4e14139d089c1efae Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 12:39:22 2013 +0200 doc: Document expect_string*() commit 9eaac95c9a98622fdb8e5ff65a21e0f6dee3f58a Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 12:25:39 2013 +0200 doc: Document expect_in_set(). commit b7eaf5fac1ec0019d1b4be1046f069d4e68a8a50 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 12:23:49 2013 +0200 doc: Update doxygen config. commit bccf090fb79ee41e4c614bf91bad3910a74a0dc3 Author: Jakub Hrozek <jhrozek@redhat.com> Date: Mon Jun 3 18:42:33 2013 +0200 Add new macros mock_type and mock_ptr_type Reviewed-by: Andreas Schneider <asn@cryptomilk.org> commit 7c221a9a18cf9057c2a17d66eaf1107fcf5efe42 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jun 4 10:13:51 2013 +0200 example: Fix building with optimization flags. commit c7a85aa3d0b58a85786063797a3c2e0a77d83bb7 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 3 18:48:44 2013 +0200 example: Fix a build warning. commit 6f3fbb34d504d9951a4f405d7bbf53ae4be53f30 Author: Jakub Hrozek <jhrozek@redhat.com> Date: Mon Jun 3 16:42:20 2013 +0200 example: wrap trick Adds a new example that illustrates the gcc wrap trick. create mode 100644 example/chef_wrap/CMakeLists.txt create mode 100644 example/chef_wrap/chef.c create mode 100644 example/chef_wrap/chef.h create mode 100644 example/chef_wrap/waiter_test_wrap.c create mode 100644 example/chef_wrap/waiter_test_wrap.h commit 0cdc214542001dab61855ddf6fd75322e8934d0d Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Apr 9 14:12:30 2013 +0200 Update README. commit 8449202e6ad57c1a86097c5cd3d3d26ec5046d68 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Apr 9 14:11:59 2013 +0200 cmake: Fix check for fortify source. create mode 100644 cmake/Modules/CheckCCompilerFlagSSP.cmake delete mode 100644 cmake/Modules/MacroCheckCCompilerFlagSSP.cmake commit cfa9fc619267fd14999949bb3d8a83d4273f43af Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Mar 19 08:45:54 2013 +0100 cmake: Try to fix problems with installation on other platforms. commit 10c66a8b1c7ee44e4498e32cad76d19e107db739 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Mar 18 22:34:19 2013 +0100 Update the INSTALL file. commit 0318566ef68991c4a4a436b8e45b6b15e59cc7a5 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Feb 11 16:25:59 2013 +0100 cmake: Add pkgconfig file. create mode 100644 cmocka.pc.cmake commit d3976815ea931037f92bd361e4a9f7764aac89c5 Author: Jakub Hrozek <jhrozek@redhat.com> Date: Fri Feb 1 14:18:27 2013 +0100 doc: Fix links in index.html The links were pointing to ../src/example should have been ../example Reviwed-by: Andreas Schneider <asn@cryptomilk.org> commit 24baf514f7d02ddce40edb3338b39cc4426c8255 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Jan 17 18:24:22 2013 +0100 file: Remove execute bits of C files. mode change 100755 => 100644 include/cmocka.h mode change 100755 => 100644 src/cmocka.c commit 5c53125fceac0ec9d6ce289fe52c5d806d33a465 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Jan 15 11:58:00 2013 +0100 doc: Fix a typo. commit 4425dfa2e28c54319614a796e596cc6b6c0b146f Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jan 14 11:21:11 2013 +0100 Updated ChangeLog. commit 48a7d373e30640a36dce385621f6234a0b4e07d7 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Dec 4 11:49:37 2012 +0100 Add clang_complete config file. create mode 100644 .clang_complete commit d159161b33ccfb98c86c045ed057f984db0f228b Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 30 17:17:16 2012 +0100 doc: Document check_expected(). commit f54fae5399f80b82d2210d77804f722651855d5b Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 30 17:16:57 2012 +0100 doc: Document expect_check(). commit 85be3fece36cb00cada6d5e219002c121b138eb4 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 30 16:59:24 2012 +0100 doc: Add section for checking parameters. commit 9620e1f716c7cc6513df79407b1348ad02544894 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 16 14:16:53 2012 +0100 doc: Document expect_assert_failure(). commit 17119e5ba9576de722d0e197dec1f2bb05a4caa5 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 16 14:13:20 2012 +0100 doc: Document mock_assert(). commit 055aabba63e04f5f76f4c9b5032051d226715f67 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 16 14:13:09 2012 +0100 doc: Document Standard Assertions group. commit e9eb2aaee265d91e4857869533a51cec07dff2f0 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 16 14:00:23 2012 +0100 doc: Document test_free(). commit a139a53e43e2e1fe5ccfb467b6708fdc7ce4a743 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 16 13:58:18 2012 +0100 doc: Document test_calloc(). commit 2bd1bbab7b62bb97d386a5014f3d3cf8c86d9527 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 16 13:54:11 2012 +0100 doc: Document test_malloc(). commit a83896a6b4a7712dae9a50a8a78463113372fd78 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 16 13:46:29 2012 +0100 doc: Document Dynamic Memory Allocation group. commit dd3c27dd854a8c83811ad74114e714d9de232837 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 16 13:38:06 2012 +0100 doc: Document assert_not_in_set(). commit fa064f39f0c487605abeda3097ddec4fc19ed377 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 16 13:37:01 2012 +0100 doc: Document assert_in_set(). commit 5e4d713d494e39350c765c0950036931a9195569 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Nov 16 10:48:42 2012 +0100 doc: Document assert_not_in_range(). commit 11db9285b934d7be83bf810dd22e7ac542a5921b Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Nov 10 16:56:14 2012 +0100 doc: Document assert_in_range(). commit 4359fa83e152dae129bff74cf09d64ea2158cde3 Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Nov 10 16:56:14 2012 +0100 doc: Document assert_in_range(). commit 021d4cc2906111b55e7cb19d0905c4fef815e9cb Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Nov 10 16:38:22 2012 +0100 doc: Document assert_memory_not_equal(). commit 4ac7d758f2aa5f398fa9102c87dbbbf30739ce7a Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Nov 10 16:32:00 2012 +0100 doc: Document assert_memory_equal(). commit aa794f120a0ac4b81a1aa3261d55c53e551c823b Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Nov 10 16:27:10 2012 +0100 doc: Document assert_string_not_equal(). commit f457197a80273255cf9e7e98921f17246af76398 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Nov 5 18:43:27 2012 +0100 doc: Document assert_string_equal(). commit 7f33ebd92a42de3314959ce7454af2c7b42e9869 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Nov 5 18:42:41 2012 +0100 doc: Document assert_int_not_equal(). commit b1746e1832556b67ce0a9e00f8035b7071652251 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Nov 5 18:38:39 2012 +0100 doc: Document assert_int_equal(). commit c3a59d0dc219609aac326ba0c47bd9bac26f70b8 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Nov 5 18:37:03 2012 +0100 doc: Document assert_null(). commit 38860484a3e8f3620df241de829b84772726b875 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Nov 5 18:32:03 2012 +0100 doc: Add a more detailed description to the Assert Macros section. commit 8e135115c0c77f7011b9a5d690b0f3d96544b024 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Nov 5 18:28:26 2012 +0100 doc: Add example to Running Tests section. commit a6e84045ca6fbde6db9a90ba52060319bc638bc3 Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Oct 20 01:01:53 2012 +0200 example: Use C style comments. commit 5f857da3867f57132614d3c4259fc38fae33de49 Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Oct 20 00:50:26 2012 +0200 cmocka: Make teardown_testing() static. commit 185b1f274181ccf5452562ed4c8f14dcdbb29038 Author: Andreas Schneider <asn@cryptomilk.org> Date: Sat Oct 20 00:48:07 2012 +0200 cmocka: Use C style comments. commit e7f3a1ebd7541678ff747c2ba82624bab6d966df Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Oct 19 18:12:35 2012 +0200 cmocka: Add a missing space in tests output. commit 596df411bc543c53fe90d6b53154ea4a872bb6a5 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Oct 17 17:27:37 2012 +0200 include: Document assert_non_null(). commit a0843a077fb7844e769c2dd6a3154a67de0b598a Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Oct 17 17:20:38 2012 +0200 include: Document assert_false(). commit 0ee1313db1e072c84b492b94f19d0cb90f71d3b1 Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Oct 17 17:16:23 2012 +0200 include: Document assert_true(). commit c0aeb6b4460fd3337caef57eaf1de4d86c1b2a63 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 16 16:38:49 2012 +0200 cmocka: Add a missing space in tests output. commit 186c2f8c5a0e437935c253aadf569f6ff9c1f4b0 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 16 12:04:00 2012 +0200 doc: Fix testcase. commit e1566dd75a61cb9ad825b9e49237d684e62ef37b Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 16 12:01:08 2012 +0200 include: Document run_tests(). commit a2c8bdcbd2fe299c5415d6b6a739d65deb607f99 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 16 12:01:20 2012 +0200 tests: Extend the run_tests example. commit e8d5479e47226de1c4388c24f4305861b80e786c Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 16 12:01:08 2012 +0200 include: Document run_tests(). commit 6dc3ea8a7b785af357f128c8c537b29d113e5384 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 16 11:23:54 2012 +0200 include: Document unit_test*() macros. commit e4bd665c885fd9e000d020684329f0c75dcebe34 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 16 11:23:39 2012 +0200 include: Document run_tests(). commit 24b5f4c58d942f82fa802ecea37ae1047a9c362e Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 16 11:15:29 2012 +0200 include: Document fail(). commit eba1fd207436dca48c301a34e95968d48d6079b1 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 21:47:19 2012 +0200 cmake: Add missing inclue dir. commit 400038f6cac93f9423dc3e8430e3029499b19061 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 20:43:08 2012 +0200 include: Add a group for mock objects. commit 1f2b6837399bf9e70243197fc16b7c8f3a748437 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 20:06:16 2012 +0200 include: Document will_return_count(). commit 4f212a52bedcde574e6f8fdad3585cdb395b0dee Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 20:06:03 2012 +0200 include: Document will_return(). commit e392d993f7e77857329629466c1eac35ed5f1df3 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 20:03:25 2012 +0200 include: Document mock(). commit 4752bd5620919447a9844ee1565c75e38a4a5629 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 20:37:36 2012 +0200 doc: Add example for cmocka test case. commit df7de3b0b4434e1223240a9f2f5fad03a4a15f59 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 20:31:13 2012 +0200 doc: Add more details to the main page. commit b0e9a8d6a5156773c1706393edac91e2dfabdac0 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 20:18:44 2012 +0200 cmake: Add API documentation support using doxygen. create mode 100644 cmake/Modules/UseDoxygen.cmake create mode 100644 doc/CMakeLists.txt create mode 100644 doc/doxy.config.in create mode 100644 doc/mainpage.dox commit d0b559bf565e28923f47967f5e20e52263ea49a7 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 19:45:48 2012 +0200 cmake: Remove superflous function and header checks. commit fd05abaff406bc83491373f7c539f30e6c876630 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 19:41:27 2012 +0200 cmake: Add a check for strsignal(). commit 8880471c6e6d42015fdd11d57fe4d6ce4cefeb58 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 19:39:39 2012 +0200 cmake: Fix build warning on OpenIndiana. commit 580787e423bd41c99227b0a0eb6615096f69a510 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 17:10:08 2012 +0200 example: Move examples to top level dir. create mode 100644 example/CMakeLists.txt create mode 100644 example/allocate_module.c create mode 100644 example/allocate_module_test.c create mode 100644 example/assert_macro.c create mode 100644 example/assert_macro.h create mode 100644 example/assert_macro_test.c create mode 100644 example/assert_module.c create mode 100644 example/assert_module.h create mode 100644 example/assert_module_test.c create mode 100644 example/calculator.c create mode 100644 example/calculator_test.c create mode 100644 example/customer_database.c create mode 100644 example/customer_database_test.c create mode 100644 example/database.h create mode 100644 example/key_value.c create mode 100644 example/key_value.h create mode 100644 example/key_value_test.c create mode 100644 example/product_database.c create mode 100644 example/product_database_test.c create mode 100644 example/run_tests.c delete mode 100644 src/example/CMakeLists.txt delete mode 100644 src/example/allocate_module.c delete mode 100644 src/example/allocate_module_test.c delete mode 100644 src/example/assert_macro.c delete mode 100644 src/example/assert_macro.h delete mode 100644 src/example/assert_macro_test.c delete mode 100644 src/example/assert_module.c delete mode 100644 src/example/assert_module.h delete mode 100644 src/example/assert_module_test.c delete mode 100644 src/example/calculator.c delete mode 100644 src/example/calculator_test.c delete mode 100644 src/example/customer_database.c delete mode 100644 src/example/customer_database_test.c delete mode 100644 src/example/database.h delete mode 100644 src/example/key_value.c delete mode 100644 src/example/key_value.h delete mode 100644 src/example/key_value_test.c delete mode 100644 src/example/product_database.c delete mode 100644 src/example/product_database_test.c delete mode 100644 src/example/run_tests.c commit 48e061f0f802a6506f909a2de0ce50d31831eed4 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 17:09:02 2012 +0200 include: Move include dir to top level. create mode 100644 include/CMakeLists.txt create mode 100755 include/cmocka.h create mode 100644 include/cmocka_private.h delete mode 100644 src/include/CMakeLists.txt delete mode 100755 src/include/cmocka.h delete mode 100644 src/include/cmocka_private.h commit c73336b7810ddc661161fb2e463e64dfd9c6b818 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Oct 15 17:01:58 2012 +0200 cmocka: Fix a build warning on x86. commit 43edc0c21b147a94536679424de9df00ae0b39d2 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Oct 12 23:19:28 2012 +0200 Remove the obsolite m4 files. delete mode 100644 m4/ac_have_attribute.m4 delete mode 100644 m4/ac_rwlock.m4 delete mode 100644 m4/acx_pthread.m4 delete mode 100644 m4/compiler_characteristics.m4 delete mode 100644 m4/google_namespace.m4 delete mode 100644 m4/namespaces.m4 delete mode 100644 m4/stl_hash.m4 delete mode 100644 m4/stl_namespace.m4 commit 848d92319cf33a8366ad2fecd3632ee7027e9135 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Oct 12 23:10:50 2012 +0200 cmake: Mark failing tests as passed. Check that failing tests are really failing. They fail by intention. commit d20d6f5255c232da55fbdc54de1add71e5838cf6 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Oct 12 23:10:30 2012 +0200 example: Fix 64bit problems in product_database_test. commit 53a2b83c58546defe0153aa2d80db0ce611f6408 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Oct 12 23:00:36 2012 +0200 example: Fix casting on 64bit platforms. commit 17fb6dc7ad4ca0e35f1a5f52439a135359f6b563 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Oct 12 23:00:01 2012 +0200 include: Fix casting on 64bit platforms. commit 93480fd906fa39e258109c84df03ee6c2a9ce084 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Oct 12 21:32:45 2012 +0200 example: Fix build warnings for assert_module test. create mode 100644 src/example/assert_module.h commit 542a70d458a8fce2985dac6fb11e7a68777e7848 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Oct 12 21:21:46 2012 +0200 cmake: Build assert_module_test. commit 2ea4503e75660e903c6b5f85677c6500d0bb3e1e Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Oct 10 10:29:54 2012 +0200 include: Fix build on OpenIndiana. commit 6fa96c5e5675ee929b11b2280e9ac0162cfea7ee Author: Andreas Schneider <asn@cryptomilk.org> Date: Wed Oct 10 09:13:41 2012 +0200 include: Correctly detect uintptr_t size on Linux. This is needed to compile for i686 on a x86_64 system. commit d41d1c6932ddf9abceccbe489b94e307cf174136 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 9 13:16:50 2012 +0200 cpack: Update version number. commit 3ff80ce781671b985de01d1f1f40fc62668e7a00 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 9 13:12:55 2012 +0200 cmake: Set version number to 0.2.0. commit 57f456ffd20df2d0a8b44b1e19c19e95df1c757d Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 9 12:53:40 2012 +0200 cmake: Add missing AddCMockaTest.cmake. create mode 100644 cmake/Modules/AddCMockaTest.cmake commit bb257053b2909bcd42b288f31a3048d55ffeaf42 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 9 12:49:52 2012 +0200 cmake: Add ctest support. commit f3f90437f8f6ccab489b0b1a891bb3bd4c84b9ff Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 9 12:41:53 2012 +0200 cmake: Add an option to turn on unit testing. commit e0326ea1a37bb5e617b74447bee3d4dc9dac7328 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue Oct 9 12:19:13 2012 +0200 cmake: Add a CTestConfig.cmake. create mode 100644 CTestConfig.cmake commit 76ff19c179f2d0bcb956d713648a91bf28bece6e Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 16:01:36 2012 +0200 examples: Fix warnings of allocate_module_test. commit f347d8e05cd51e4e826ef7420a3ce2ef473ec853 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 15:56:36 2012 +0200 examples: Fix warnings of assert_macro_test. create mode 100644 src/example/assert_macro.h commit c4588d41e493e3d9834822090960365a742489da Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 15:55:15 2012 +0200 examples: Fix warnings of calculator_test. commit fb48092d387e378baec9439200110959c2b349f6 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 15:27:37 2012 +0200 examples: Fix warnings of customer_database. commit 14f959d7decec8d8eb9d9746cacaa997f19e83a4 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 15:26:42 2012 +0200 examples: Fix warnings of customer_database_test. commit 1c59c21d292357e12421cb927f8232d443ae082d Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 15:21:08 2012 +0200 examples: Fix warnings of key_value_test. commit 0713f9fd2faec04265e24876d78f3ec7651226c3 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 15:19:04 2012 +0200 examples: Fix warnings of product_database_test. commit 3b4ee73fa6e5df8e0b5f405cd75e4eda496c4773 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 15:44:26 2012 +0200 lib: Use discard_const for casting. commit 1fc7481aff387dc28f48a3add940f904b8389ae9 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 15:44:20 2012 +0200 header: Add cmocka_private header with useful macros. create mode 100644 src/include/cmocka_private.h commit ba40f8db70d0b1ba8e24faf5b44244f33150a381 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 15:11:41 2012 +0200 header: Add printf attribute checking for vprint functions. commit 6b8d5c6feb142aa0007590341be5c08ce865c107 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 15:05:42 2012 +0200 lib: Fix printf with size_t. commit 87dd817cfd45da7718eed506a86a27dd68f61b3a Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 14:44:03 2012 +0200 lib: Fix printf warnings. commit 05cc88b48d50a8071ff4b8fb1eeac9a1e81358aa Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 14:43:32 2012 +0200 header: Add printf attribute checking with gcc. commit 95c7ecbb505f0870c0b415b06d23e813336bee55 Author: Andreas Schneider <asn@cryptomilk.org> Date: Mon Jun 25 14:30:31 2012 +0200 cmake: Check for _GNU_SOURCE and add it if available. This is needed for strsignal(). commit b8114912ad7cc5d3f031675938d8e84035a98732 Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Jun 14 12:52:08 2012 +0200 include: Use C style comments. commit 734210f6e75a04d740a3921660cb6d4290e7875b Author: Andreas Schneider <asn@cryptomilk.org> Date: Thu Jun 14 12:45:59 2012 +0200 Rename cmokery to cmocka for a fork. delete mode 100644 doc/html2wiki.sh delete mode 100755 packages/deb.sh delete mode 100644 packages/deb/README delete mode 100644 packages/deb/changelog delete mode 100644 packages/deb/compat delete mode 100644 packages/deb/control delete mode 100644 packages/deb/copyright delete mode 100644 packages/deb/docs delete mode 100644 packages/deb/libcmockery-dev.dirs delete mode 100644 packages/deb/libcmockery-dev.install delete mode 100644 packages/deb/libcmockery0.dirs delete mode 100644 packages/deb/libcmockery0.install delete mode 100755 packages/deb/rules delete mode 100755 packages/rpm.sh delete mode 100644 packages/rpm/rpm.spec create mode 100755 src/cmocka.c create mode 100644 src/cmocka.def delete mode 100755 src/cmockery.c delete mode 100644 src/cmockery.def delete mode 100644 src/google/CMakeLists.txt delete mode 100755 src/google/cmockery.h create mode 100644 src/include/CMakeLists.txt create mode 100755 src/include/cmocka.h commit b32200ba7cedab8d8c932f50fbbb7df371be9f70 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Aug 12 13:12:35 2011 +0200 build: Export global_last_failed_assert. commit c98336a6c442f60236c031419d0ff3cef0253c34 Author: Andreas Schneider <asn@cryptomilk.org> Date: Fri Aug 12 13:08:40 2011 +0200 build: Fix fail_if_leftover_values export. fail_if_leftover_values is a static function now. commit dabdb72ca27864153e6ea6a83f532693020429e6 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 31 22:50:56 2011 +0200 example: Fix build warnings of allocate_module. commit 43af79f3a5a9a6ecff19652b6ed939ee7939df21 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 31 22:48:15 2011 +0200 example: Fix a segfault in calculator test. commit 6fde64684017b47dbfd170d6ff515883c460b5d1 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 31 22:22:33 2011 +0200 example: Fix build warnings of calculator. commit 4eeb8242dfc813700ed553499e8d2ece8ecd94e5 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 31 22:02:33 2011 +0200 example: Fix build warnings of customer_database. commit 034e74445364e6707cbd4b8f09909c78555047e8 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 31 21:57:55 2011 +0200 example: Fix build warnings of key_value. create mode 100644 src/example/key_value.h commit ee45c024334a7874f56af215103aea22dd874a1a Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 31 21:48:22 2011 +0200 example: Fix build warnings of product_database_test. commit 7543a9c8b40e8e8e190cc9ec059122e683954980 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 31 21:44:54 2011 +0200 example: Fix build warnings of run_tests. commit d9b070e157b05e1d62f50b85ef8ddbe8c86fca28 Author: Patrick Perry <patperry@gmail.com> Date: Tue Apr 5 22:47:27 2011 -0400 src: Fix expect_assert_failure bug not holding a char pointer. commit d9cd3daa039b44bd430358e831d6ae7ea16ddb86 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 31 21:17:09 2011 +0200 misc: Fix license in COPYING. commit 8e41ffb9b59cf3479536f0546404c93e33a37699 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 31 21:08:32 2011 +0200 build: Fix Visual Studio warnings. commit c0d1b69a2f02f3de3a0c995615d4f50f77c229f0 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 31 20:52:53 2011 +0200 build: Remove obsolete autoconf. delete mode 100644 Makefile.am delete mode 100644 Makefile.in delete mode 100644 aclocal.m4 delete mode 100755 autogen.sh delete mode 100755 compile delete mode 100755 config.guess delete mode 100755 config.sub delete mode 100755 configure delete mode 100644 configure.ac delete mode 100755 depcomp delete mode 100755 install-sh delete mode 100644 ltmain.sh delete mode 100755 missing delete mode 100755 mkinstalldirs delete mode 100644 src/config.h.in delete mode 100644 windows/makefile commit 233e07cd4a6d57e7bbe70b882fabb64b46fb5671 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 31 20:37:57 2011 +0200 src: Fix includes. commit 7f7e0276abb9e6bdadb914ecbf8ddb29a2858018 Author: Andreas Schneider <asn@cryptomilk.org> Date: Tue May 31 20:37:38 2011 +0200 src: Fix a missing prototype warning. commit 5f93a18ba3283101097809fdb018cecb1840a897 Author: Steve Byan <stevebyan@me.com> Date: Mon Mar 1 21:47:35 2010 -0500 src: Fix pointer-to-int cast warnings on ILP32 platforms. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 1be1e7c81b4429655342f172858827c964f50b1c Author: Steve Byan <stevebyan@me.com> Date: Mon Mar 1 21:02:40 2010 -0500 src: Fix pointer casts to int on LP64 platforms. This fixes cmockery defect 23. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit bc1f1911862881ac9505110ae0be4bc59aefa4e8 Author: Steve Byan <stevebyan@me.com> Date: Mon Mar 1 20:58:00 2010 -0500 src: Fix pointer casts to smaller integral type. This fixes cmockery defect 21. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 08635f7aa7b1b01e5d80ac1e4536e70dc394f14c Author: Steve Byan <stevebyan@me.com> Date: Mon Mar 1 20:28:23 2010 -0500 src: Fix gcc compiler warning. This fixes cmockery defect 19 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit c9a710f319771df5644cc8d57d5d18b98bf5f042 Author: Steve Byan <stevebyan@me.com> Date: Thu Feb 25 11:36:32 2010 -0800 src: Fix GCC warning on Windows. This removes a warning under gcc 4.4 on WinXP SP3 and mingw: Variable 'state' might get clobbered by 'longjmp'. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Remove warning under gcc 4.4 on WinXP SP3 and mingw: Variable 'state' might get clobbered by 'longjmp' Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 58ebb69817292a91709d347062d54f24230ba525 Author: Steve Byan <stevebyan@me.com> Date: Wed Feb 17 17:32:43 2010 -0500 src: Fix a bunch of build warnings. This fixes cmockery issue #17. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 9e9bd5cc82e9082e82322d59f4f3ade786a02069 Author: ademin <devnull@localhost> Date: Sat Feb 13 18:17:38 2010 +0000 src: Fixed IsDebuggerPresent() function declaration. This fixes cmockery issue #6. The IsDebuggerPresent() function is not declared in Visual Studion 2005 and lower. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 422f39101d09893e4fd2f044452610af83f91436 Author: ademin <devnull@localhost> Date: Sat Feb 13 18:12:29 2010 +0000 src: Fixed integer conversion warning on HPUX. This fixes cmockery issue #10. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit c5ac6b539c9962d338ec1d532694edc374c0c41c Author: ademin <devnull@localhost> Date: Sat Feb 13 18:10:22 2010 +0000 src: Fixed a problem on HPUX. This fixes cmockery issue #12. This fixes the char* to int conversion truncation warning on HP-UX in 64-bit mode. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit c9cb56d6bb8a15a34543ff96418867ece656e14d Author: ademin <devnull@localhost> Date: Sat Feb 13 18:07:27 2010 +0000 src: Fixed build on HP-UX IA64 v3. This fixes cmockery defect #11. The strsignal() function is not available on HP-UX IA64 v3. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit 2726860e2b446debfc2852fead4238b4e2b092d6 Author: ademin <devnull@localhost> Date: Sat Feb 13 14:58:19 2010 +0000 src: Use Google Test output format. http://groups.google.com/group/cmockery/browse_thread/thread/19cd0ec29c08ecb2 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit c4648ba500864d34a155fff380a43a3dae57a763 Author: ademin <devnull@localhost> Date: Sat Feb 13 14:17:56 2010 +0000 src: Fixed stdout and stderr problems. This fixes cmockery defect #13. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> commit b191fd2f6ffb92ac65d7556713f8562154bb5e45 Author: Andreas Schneider <asn@cynapses.org> Date: Wed Dec 29 18:42:27 2010 +0100 build: Added a def file for windows build. This exports the symbols which are needed to get a .lib file. create mode 100644 src/cmockery.def commit fba4b76aecd3d26a66295863e30877fea1322442 Author: Andreas Schneider <asn@cynapses.org> Date: Wed Dec 29 15:30:03 2010 +0100 build: Added CPack config for source and binary generators. create mode 100644 CPackConfig.cmake create mode 100644 cmake/Modules/FindNSIS.cmake commit 16d8fce4e84a5bc6dd5130ac841522bdc91fd71e Author: Andreas Schneider <asn@cynapses.org> Date: Wed Dec 29 14:48:07 2010 +0100 build: Added example build. create mode 100644 src/example/CMakeLists.txt commit d72da6e93f6a2f9f1aebb0de5f6ab3b3655d65c1 Author: Andreas Schneider <asn@cynapses.org> Date: Wed Dec 29 14:14:25 2010 +0100 build: Added option to build with static library. create mode 100644 DefineOptions.cmake commit dafc2dd4bd95e991ec69a22a729f9e0c79c6ca2e Author: Andreas Schneider <asn@cynapses.org> Date: Wed Dec 29 13:51:21 2010 +0100 build: Added CMake build of cmockery. create mode 100644 CMakeLists.txt create mode 100644 ConfigureChecks.cmake create mode 100644 cmake/Modules/COPYING-CMAKE-SCRIPTS create mode 100644 cmake/Modules/DefineCMakeDefaults.cmake create mode 100644 cmake/Modules/DefineCompilerFlags.cmake create mode 100644 cmake/Modules/DefineInstallationPaths.cmake create mode 100644 cmake/Modules/DefinePlatformDefaults.cmake create mode 100644 cmake/Modules/MacroCheckCCompilerFlagSSP.cmake create mode 100644 cmake/Modules/MacroEnsureOutOfSourceBuild.cmake create mode 100644 config.h.cmake create mode 100644 src/CMakeLists.txt create mode 100644 src/google/CMakeLists.txt commit 386504bff3f84b9b106c25f296685ba572fbab20 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Fri Aug 28 15:37:04 2009 +0000 * Fixed assert_*() macros so they no longer truncate values to int. * Fixed printf format specifier for unsigned long long. * Worked around a 64-bit gcc warning when casting a 32-bit integer to a pointer in the expect_assert_failure() macro. git-svn-id: http://cmockery.googlecode.com/svn/trunk@42 40f4469a-5155-0410-be90-2de3f0bae501 commit d91d1c6d6376ba3a56bcf17205e05b2634a0b865 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Fri Aug 14 16:15:48 2009 +0000 Fixed memory_not_equal_display_error() to display an error if memory blocks are the same. git-svn-id: http://cmockery.googlecode.com/svn/trunk@41 40f4469a-5155-0410-be90-2de3f0bae501 commit 1fad1b04d505288ac8fcc8a4c4ec1502306a0e12 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:37:20 2009 +0000 Fixed internal links (<a href="#.*">) to headings that contain spaces when index.html is converted to wiki format. git-svn-id: http://cmockery.googlecode.com/svn/trunk@40 40f4469a-5155-0410-be90-2de3f0bae501 commit 85f3cedf3f9b5cad3d69083d3b6ff4cb2049929b Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:37:13 2009 +0000 * Added bash (awk / sed) script to convert cmockery's html docs to a googlecode.com wiki. * Modified index.html slightly to make the conversion from html to wiki easier. git-svn-id: http://cmockery.googlecode.com/svn/trunk@39 40f4469a-5155-0410-be90-2de3f0bae501 create mode 100644 doc/html2wiki.sh commit 342ddac73d4849e9d5d5e117974354460238b1e8 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:37:02 2009 +0000 Fixed truncation in integer range checking event structure to store min and max values as LargestIntegralType rather than int. git-svn-id: http://cmockery.googlecode.com/svn/trunk@38 40f4469a-5155-0410-be90-2de3f0bae501 commit 1c668ffa031529a49fa8fad83e9ee30c333f19ba Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:36:49 2009 +0000 * Support for mocking long long (>= 64-bit) parameters. * Changed tabs to spaces in cmockery.c/.h to be consistent with the other source files. * Deleted all trailing whitespace. * Fixed warnings introduced in tests after adding support for 64-bit mocks. git-svn-id: http://cmockery.googlecode.com/svn/trunk@37 40f4469a-5155-0410-be90-2de3f0bae501 commit ba59b81748fd90aa39fa93d4137ae4d4744f2517 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:36:01 2009 +0000 Deleted all trailing whitespace from cmockery source files. git-svn-id: http://cmockery.googlecode.com/svn/trunk@36 40f4469a-5155-0410-be90-2de3f0bae501 commit 5eeee0e92862b3108b203bd2520562cf4b64a5df Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:35:37 2009 +0000 Modified the windows makefile for cmockery to enable debug mode. git-svn-id: http://cmockery.googlecode.com/svn/trunk@35 40f4469a-5155-0410-be90-2de3f0bae501 commit 6570a27c5ce258e9a4c38045b4fd561319dca3b2 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:33:49 2009 +0000 Integrated fix for cmockery "Issue 3: malloc.h not found on Mac OS Leopard". git-svn-id: http://cmockery.googlecode.com/svn/trunk@34 40f4469a-5155-0410-be90-2de3f0bae501 commit 5cb1a7d04547f26bfd3ce7b4faf6a35ae0d7cdfe Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:33:33 2009 +0000 Fixed cmockery "Issue 9: assert_macro.c" Reported by khb.hnu, Apr 12, 2009 Line30: for (i = 0; i < sizeof(status_code_string) / sizeof(status_code_string[0]); change it as follow: for (i = 0; i < sizeof(status_code_strings) / sizeof(status_code_strings[0]); git-svn-id: http://cmockery.googlecode.com/svn/trunk@33 40f4469a-5155-0410-be90-2de3f0bae501 commit 843769fab51bcdc77bc012501ced646c20045259 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:33:12 2009 +0000 Fix for "Issue 7: value_in_set_display_error() falsely reports errors." reported on code.google.com/p/cmockery. git-svn-id: http://cmockery.googlecode.com/svn/trunk@32 40f4469a-5155-0410-be90-2de3f0bae501 commit ca71633ac8222e7d9e4fc92094f5b2a372170cbf Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:32:54 2009 +0000 Fixed Issue 6 from code.google.com/p/cmockery : IsDebuggerPresent() function is not declared in Visual Studion 2005 and lower git-svn-id: http://cmockery.googlecode.com/svn/trunk@31 40f4469a-5155-0410-be90-2de3f0bae501 commit d65594ea7335dd11031eb13d6b0a9a3d5955e419 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:32:06 2009 +0000 Fixed code.google.com/p/cmockery Issue 5: Using will_return_count with count=-1 (to always repeat return value) results in assertion failure. git-svn-id: http://cmockery.googlecode.com/svn/trunk@30 40f4469a-5155-0410-be90-2de3f0bae501 commit 0c97caac3cf8f4643b16570125ddb81f7a8efd02 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:31:35 2009 +0000 * Modified cmockery's windows makefile so that it's possible to build the library from any current directory. git-svn-id: http://cmockery.googlecode.com/svn/trunk@29 40f4469a-5155-0410-be90-2de3f0bae501 commit ff925223094f4a89470ca9a2572291a4f5380887 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Thu Jul 23 16:05:50 2009 +0000 Integrated patch from "code.google.com/p/cmockery Issue 4: [PATCH] Support for "out of source-tree" builds" git-svn-id: http://cmockery.googlecode.com/svn/trunk@28 40f4469a-5155-0410-be90-2de3f0bae501 commit 7a122e8ae52a0cbce42baca3e35ab47671e028e9 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Tue Sep 16 01:16:42 2008 +0000 Mon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com> * cmockery: version 0.12 * Made it possible to specify additional compiler, lib tool and link flags on Windows. * Added Windows makefile to the tar ball. Fri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com> git-svn-id: http://cmockery.googlecode.com/svn/trunk@18 40f4469a-5155-0410-be90-2de3f0bae501 commit 4e2e02263e682eb8b2177f5d856eb843706761ac Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Tue Sep 16 01:05:57 2008 +0000 Mon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com> * cmockery: version 0.12 * Made it possible to specify additional compiler, lib tool and link flags on Windows. * Added Windows makefile to the tar ball. Fri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com> git-svn-id: http://cmockery.googlecode.com/svn/trunk@17 40f4469a-5155-0410-be90-2de3f0bae501 commit d0393b670521f2db70743d2c2772a726cf64f9d4 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Tue Sep 16 00:32:50 2008 +0000 Mon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com> * cmockery: version 0.12 * Made it possible to specify additional compiler, lib tool and link flags on Windows. * Added Windows makefile to the tar ball. Fri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com> git-svn-id: http://cmockery.googlecode.com/svn/trunk@15 40f4469a-5155-0410-be90-2de3f0bae501 commit b5611e1d07b7b1b1e35bf3d5a0733801c065e73d Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Tue Sep 16 00:23:11 2008 +0000 Mon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com> * cmockery: version 0.12 * Made it possible to specify additional compiler, lib tool and link flags on Windows. * Added Windows makefile to the tar ball. Fri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com> git-svn-id: http://cmockery.googlecode.com/svn/trunk@13 40f4469a-5155-0410-be90-2de3f0bae501 commit 0c11767dd0ba23d448fde3b21ebe223fdac8c21d Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Tue Sep 16 00:20:10 2008 +0000 Fri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com> * cmockery: version 0.11 * Made it possible to specify executable, library and object output directories. git-svn-id: http://cmockery.googlecode.com/svn/trunk@12 40f4469a-5155-0410-be90-2de3f0bae501 commit 285a635169ae6bd43e88de00a5f96b67b02e1925 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Tue Sep 2 16:12:58 2008 +0000 Fri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com> * cmockery: version 0.11 * Made it possible to specify executable, library and object output directories. git-svn-id: http://cmockery.googlecode.com/svn/trunk@11 40f4469a-5155-0410-be90-2de3f0bae501 commit 5548984b4ed1301d6ddeddc2cc87e3e8cc414ac0 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Fri Aug 29 23:41:49 2008 +0000 Fri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com> * cmockery: version 0.11 * Made it possible to specify executable, library and object output directories. git-svn-id: http://cmockery.googlecode.com/svn/trunk@10 40f4469a-5155-0410-be90-2de3f0bae501 commit 44fb814ab202781789b7869ad32314603b468da1 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Fri Aug 29 22:57:09 2008 +0000 Removed some empty temporary directories git-svn-id: http://cmockery.googlecode.com/svn/trunk@9 40f4469a-5155-0410-be90-2de3f0bae501 commit 4f87ce4d8c68142a577300d73eaf8abf9f548d27 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Fri Aug 29 22:42:17 2008 +0000 Fri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com> * cmockery: version 0.11 * Made it possible to specify executable, library and object output directories. git-svn-id: http://cmockery.googlecode.com/svn/trunk@7 40f4469a-5155-0410-be90-2de3f0bae501 commit a411781b00fa1ce1f8d7c0d48ad2765f9aa4268a Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Fri Aug 29 17:58:06 2008 +0000 Fri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com> * cmockery: version 0.11 * Made it possible to specify executable, library and object output directories. git-svn-id: http://cmockery.googlecode.com/svn/trunk@5 40f4469a-5155-0410-be90-2de3f0bae501 commit e414597c717cee8d64a70c1c6a02b2d588f691b5 Author: stewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501> Date: Tue Aug 26 17:51:56 2008 +0000 Tue Aug 26 10:18:02 2008 Google Inc. <opensource@google.com> * cmockery: initial release: A lightweight library to simplify and generalize the process of writing unit tests for C applications. git-svn-id: http://cmockery.googlecode.com/svn/trunk@3 40f4469a-5155-0410-be90-2de3f0bae501 create mode 100644 AUTHORS create mode 100644 COPYING create mode 100644 ChangeLog create mode 100644 INSTALL create mode 100644 Makefile.am create mode 100644 Makefile.in create mode 100644 NEWS create mode 100644 README create mode 100644 aclocal.m4 create mode 100755 autogen.sh create mode 100755 compile create mode 100755 config.guess create mode 100755 config.sub create mode 100755 configure create mode 100644 configure.ac create mode 100755 depcomp create mode 100644 doc/index.html create mode 100755 install-sh create mode 100644 ltmain.sh create mode 100644 m4/ac_have_attribute.m4 create mode 100644 m4/ac_rwlock.m4 create mode 100644 m4/acx_pthread.m4 create mode 100644 m4/compiler_characteristics.m4 create mode 100644 m4/google_namespace.m4 create mode 100644 m4/namespaces.m4 create mode 100644 m4/stl_hash.m4 create mode 100644 m4/stl_namespace.m4 create mode 100755 missing create mode 100755 mkinstalldirs create mode 100755 packages/deb.sh create mode 100644 packages/deb/README create mode 100644 packages/deb/changelog create mode 100644 packages/deb/compat create mode 100644 packages/deb/control create mode 100644 packages/deb/copyright create mode 100644 packages/deb/docs create mode 100644 packages/deb/libcmockery-dev.dirs create mode 100644 packages/deb/libcmockery-dev.install create mode 100644 packages/deb/libcmockery0.dirs create mode 100644 packages/deb/libcmockery0.install create mode 100755 packages/deb/rules create mode 100755 packages/rpm.sh create mode 100644 packages/rpm/rpm.spec create mode 100755 src/cmockery.c create mode 100644 src/config.h.in create mode 100644 src/example/allocate_module.c create mode 100644 src/example/allocate_module_test.c create mode 100644 src/example/assert_macro.c create mode 100644 src/example/assert_macro_test.c create mode 100644 src/example/assert_module.c create mode 100644 src/example/assert_module_test.c create mode 100644 src/example/calculator.c create mode 100644 src/example/calculator_test.c create mode 100644 src/example/customer_database.c create mode 100644 src/example/customer_database_test.c create mode 100644 src/example/database.h create mode 100644 src/example/key_value.c create mode 100644 src/example/key_value_test.c create mode 100644 src/example/product_database.c create mode 100644 src/example/product_database_test.c create mode 100644 src/example/run_tests.c create mode 100755 src/google/cmockery.h create mode 100644 windows/makefile commit 1e8d7abef1b83fac2b51fe8e814fb208e8b52614 Author: (no author) <(no author)@40f4469a-5155-0410-be90-2de3f0bae501> Date: Tue Aug 26 00:01:16 2008 +0000 Initial directory structure. git-svn-id: http://cmockery.googlecode.com/svn/trunk@1 40f4469a-5155-0410-be90-2de3f0bae501 |