Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-11-19 | cmocka: Add new assert macros to compare 2 double given an epsilon. | Arnaud Gelas | 5 | -0/+184 | |
assert_double_equal and assert_double_not_equal Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-11-19 | cmocka: Fix indentation | Arnaud Gelas | 1 | -2/+2 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-10-25 | cmake: Link compile database to source dir for clangd | Andreas Schneider | 2 | -0/+7 | |
See https://github.com/ycm-core/YouCompleteMe https://github.com/abingham/emacs-ycmd Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-10-22 | cmake: Fix usage of cmocka with build tree | Arnaud Gelas | 3 | -6/+13 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-10-22 | cmocka: Cast return to int in _cmocka_run_group_tests() | Andreas Schneider | 1 | -1/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-10-22 | Fix MSVC warning on conversion from 'time_t' to 'double' | Paolo Teti | 1 | -1/+1 | |
Fixes the following MSVC warning: warning C4244: '=': conversion from 'time_t' to 'double', possible loss of data Signed-off-by: Paolo Teti <paolo.teti@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-10-22 | Fix possible loss of data reported by MSVC | Paolo Teti | 1 | -1/+1 | |
Fixes the following warning: warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data Signed-off-by: Paolo Teti <paolo.teti@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-10-22 | cmake: Create a static cmocka library for testing | Andreas Schneider | 2 | -27/+38 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-10-22 | gitlab-ci: Set the build type to Debug | Andreas Schneider | 1 | -1/+2 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-10-21 | CI: Attemp to fix MSVC pipeline | Paolo Teti | 1 | -1/+1 | |
Attemp to fix 'Exit code 0xc0000139' (DLL not found) when running tests. Signed-off-by: Paolo Teti <paolo.teti@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-10-16 | cmake: Make shared lib optional | Arnaud Gelas | 7 | -102/+76 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-10-16 | Fix in INSTALL.md cmake required version (i.e. >= 3.5.0) | Arnaud Gelas | 1 | -1/+1 | |
https://gitlab.com/cmocka/cmocka/issues/33 | |||||
2019-08-22 | gitlab-ci: Add a Meson runner | Dima Krasner | 1 | -0/+15 | |
2019-08-22 | meson: Build and run unit tests | Dima Krasner | 3 | -0/+35 | |
2019-08-22 | meson: Initial Meson build system support | Dima Krasner | 1 | -0/+43 | |
Signed-off-by: Dima Krasner <dima@dimakrasner.com> | |||||
2019-08-21 | cmocka: Fix C4703 build error on UWP | myd7349 | 1 | -1/+1 | |
2019-03-29 | cmocka: check MALLOC_ALIGNMENT macro | Janusz Jankowski | 1 | -0/+2 | |
Some compilers already define this macro in standard libary headers, for example GCC for Xtensa Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-03-28 | Bump version to 1.1.5cmocka-1.1.5 | Andreas Schneider | 2 | -3/+7 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-03-28 | tests: Add tests for skip filter | Anderson Toshiyuki Sasaki | 2 | -1/+60 | |
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-03-28 | cmocka: Add cmocka_set_skip_filter() to skip tests | Anderson Toshiyuki Sasaki | 3 | -3/+31 | |
The introduced cmocka_set_skip_filter() allows setting a filter for tests to be skipped. It supports the same wildcards allowed for cmocka_set_test_filter() (i.e. '*' or '?'). Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-03-28 | include: Fixed typo in documentation | Anderson Toshiyuki Sasaki | 1 | -1/+1 | |
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-03-28 | def: Add missing exports for _assert_float_(not_)equal | Andreas Schneider | 1 | -0/+2 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-03-28 | Bump version to 1.1.4cmocka-1.1.4 | Andreas Schneider | 2 | -2/+8 | |
2019-03-27 | include: Add missing semicolon | Andreas Schneider | 1 | -1/+1 | |
Fixes #22 Reported-by: Stef van Os Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-03-12 | cmake: Fix lib name on Windows | Andreas Schneider | 1 | -1/+5 | |
Fixes #19 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-03-12 | cmake: Do not link to librt on Android | Andreas Schneider | 1 | -1/+1 | |
Fixes #16 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-03-12 | cmake: Disable in source builds the cmake way | Andreas Schneider | 1 | -0/+4 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-03-12 | include: Fix documentation links | Andreas Schneider | 1 | -4/+4 | |
Fixes #17 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-02-25 | XML output is JUnit XML, not xUnit XML. | Richard Bayerle | 1 | -2/+2 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-02-19 | examples: Include stdint.h in simple example | Andreas Schneider | 1 | -0/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-01-25 | gitlab-ci: Add target for MemorySanitizer | Andreas Schneider | 1 | -0/+18 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-01-25 | cmake: Add MemorySanitizer build type | Andreas Schneider | 1 | -0/+12 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-01-25 | cmocka: Use calloc for allocating memory | Andreas Schneider | 1 | -6/+7 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-01-25 | tests: Mark state unused in float test | Andreas Schneider | 1 | -1/+4 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-01-23 | include: Change from should to must and add stdint.h | Andreas Schneider | 1 | -1/+2 | |
Fixes #15 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-01-23 | cmake: Add WITH_EXAMPLES options | Andreas Schneider | 2 | -1/+4 | |
This is turned on by default, but you can disable it, if you just package cmocka for an opterating system. Fixes #14 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-01-23 | gitlab-ci: Run csbuild for the last 20 commits for force push | Andreas Schneider | 1 | -2/+2 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-01-22 | include: Add new assert macros to compare 2 floats given an epsilon. | Arnaud Gelas | 4 | -0/+170 | |
assert_float_equal and assert_float_not_equal | |||||
2019-01-16 | cmake: Add -Wmissing-field-initializers | Andreas Schneider | 1 | -0/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-12-13 | gitlab-ci: Add builds for VS2017 on Windows | Anderson Toshiyuki Sasaki | 1 | -0/+54 | |
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-11-30 | include: Add a new macro expect_any_always(). | Ross | 1 | -0/+18 | |
Use this macro when ignoring input parameters to a mocked function. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-11-23 | cmake: Add runtime destination to cmocka installation | Anderson Toshiyuki Sasaki | 1 | -0/+2 | |
If "RUNTIME DESTINATION" is not provided in install(), the generated *.dll files are not installed in Windows because they are treated as runtime artifacts. Fixes #13 Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> | |||||
2018-11-08 | coverity: Fix assert model | Andreas Schneider | 1 | -8/+32 | |
2018-11-08 | examples: Fix memory leak in uptime test | Andreas Schneider | 1 | -0/+2 | |
2018-11-08 | cmocka: Use string format | Andreas Schneider | 1 | -2/+2 | |
2018-11-08 | cmocka: Fix typo | Andreas Schneider | 1 | -1/+1 | |
Fixes #11 Thanks to pavelxdd. | |||||
2018-11-07 | gitlab-ci: Add csbuild | Andreas Schneider | 1 | -0/+31 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-10-24 | cmake: Fix doxygen generation | Andreas Schneider | 2 | -2/+2 | |
Fixes #12 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-10-11 | coverity: Fix assert model | Andreas Schneider | 1 | -13/+58 | |
2018-10-02 | cmake: Always build position independent code | Andreas Schneider | 1 | -0/+3 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> |