Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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> | |||||
2018-10-02 | cmake: Only check for -Wno-gnu-zero-variadic-macro-arguments with clang | Andreas Schneider | 1 | -1/+4 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-10-02 | examples: uptime: include stdint.h before cmocka.h | Joel Carlson | 1 | -0/+1 | |
Fixes a build error encountered on one MIPS64 toolchain about uintptr_t being declared twice, first by cmocka.h and then later by the toolchains stdint.h. Fixes #7 Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-09-27 | gitlab-ci: Use a toolchain file for mips | Andreas Schneider | 2 | -2/+22 | |
2018-09-27 | gitlab-ci: Report errors on debian | Andreas Schneider | 1 | -2/+3 | |
2018-09-27 | cmake: Use cmocka-static as the static namecmocka-1.1.3 | Andreas Schneider | 1 | -1/+1 | |
2018-09-27 | Bump version to 1.1.3 | Andreas Schneider | 2 | -2/+8 | |
2018-09-27 | gitlab-ci: Get mingw errors | Andreas Schneider | 1 | -6/+8 | |
2018-09-27 | exmaples: Use add_cmocka_test and set environment for tests | Andreas Schneider | 2 | -87/+54 | |
2018-09-27 | examples: Move mock example to own directory | Andreas Schneider | 13 | -5/+6 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-09-27 | exmaples: Remove examples which have issues on some platforms | Andreas Schneider | 8 | -434/+12 | |
We should provide better examples. | |||||
2018-09-27 | cmake: Always include AddCMockaTest | Andreas Schneider | 1 | -1/+1 | |
2018-09-27 | cmake: Update AddCMockaTest | Andreas Schneider | 4 | -30/+125 | |
2018-09-27 | cmake: Fix CMOCKA_DLL_PATH for Windows | Andreas Schneider | 2 | -19/+1 | |
2018-09-27 | cmake: Specify ARCHIVE DESTINATION for cmocka library on Windows | Andreas Schneider | 1 | -0/+2 | |
This is needed to correctly install the dll on Windows | |||||
2018-09-27 | cmake: Only install static lib if requested | Andreas Schneider | 2 | -12/+18 | |
2018-09-27 | cmake: Use cmocka as the shared library name | Andreas Schneider | 1 | -16/+1 | |
cmocka_static as the static library name | |||||
2018-09-26 | cmocka: Silence clang analyzer warning | Andreas Schneider | 1 | -2/+6 | |
It has no way to mark things as false postivies or teach it that things abort. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> |