Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-11-19 | cmocka: Add new assert macros to compare 2 double given an epsilon. | Arnaud Gelas | 1 | -0/+1 | |
assert_double_equal and assert_double_not_equal Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-10-22 | cmake: Create a static cmocka library for testing | Andreas Schneider | 1 | -1/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-10-16 | cmake: Make shared lib optional | Arnaud Gelas | 1 | -6/+10 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-03-28 | tests: Add tests for skip filter | Anderson Toshiyuki Sasaki | 1 | -1/+3 | |
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2019-01-22 | include: Add new assert macros to compare 2 floats given an epsilon. | Arnaud Gelas | 1 | -0/+1 | |
assert_float_equal and assert_float_not_equal | |||||
2018-09-27 | cmake: Update AddCMockaTest | Andreas Schneider | 1 | -14/+15 | |
2018-09-26 | tests: Remove left over debug message | Andreas Schneider | 1 | -1/+0 | |
2018-09-25 | cmake: Add -DCMAKE_BUILD_TYPE=UndefinedSanitizer | Andreas Schneider | 1 | -15/+26 | |
2018-09-11 | cmake: Fix linking with -fstack-protector* on Solaris | Andreas Schneider | 1 | -0/+5 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-09-10 | cmake: Use modern cmake for buildng the tests | Andreas Schneider | 1 | -6/+1 | |
2018-08-29 | cmake: Don't use CMAKE_SOURCE_DIR | Andreas Schneider | 1 | -1/+1 | |
2018-08-23 | cmake: Also handle Illegal instruction | Andreas Schneider | 1 | -1/+1 | |
This is raised on a -O3 build. | |||||
2018-08-22 | cmake: Add new CompilerCheck.cmake | Andreas Schneider | 1 | -0/+2 | |
2018-06-11 | tests: Add a test to check if wildcards are working | Andreas Schneider | 1 | -1/+2 | |
2018-06-11 | cmocka: Add c_strmatch() function | Andreas Schneider | 1 | -0/+1 | |
2017-08-11 | cmocka: Print the error message of a fixture if it fails | Andreas Schneider | 1 | -2/+2 | |
This adds error information to the output. | |||||
2017-04-05 | Fix TAP output and summary. | Stas Kobzar | 1 | -13/+13 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-09-21 | tests: Add test_groups test to validate xml output | David Schneider | 1 | -15/+58 | |
This is for multiple groups in one test to make sure they do not create invalid xml. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-02-10 | cmocka: Add will_return_maybe() for ignoring mock returns | Joseph Ates | 1 | -2/+12 | |
As both parameter and function call order checking allow for ignoring cases where they are never invoked, the mock return values are at somewhat of a mismatch in that they must always be returned at least once (even in the case of will_return_always()). Therefore, the ability to set the count to -2 on will_return_count was added with a new macro (will_return_maybe) that indicates that that the value field may never be returned and still allow a successful test. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-02-10 | tests: Add a group setup assert test | Andreas Schneider | 1 | -0/+8 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-12-18 | tests: Add test for call ordering functionality | Joseph Ates | 1 | -1/+11 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-05-11 | cmocka: Add subtests for groups using TAP output | Ellie Timoney | 1 | -2/+3 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-02-12 | tests: Use a different regex for segfault on Windows | Jakub Hrozek | 1 | -6/+14 | |
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> | |||||
2015-02-12 | cmake: Build tests with the static library. | Andreas Schneider | 1 | -2/+2 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-02-11 | cmake: Do not set gcc flags in VC. | Andreas Schneider | 1 | -1/+3 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-02-10 | cmake: Turn off deprecated warning for test_cmockery.c | Andreas Schneider | 1 | -2/+5 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-02-10 | tests: Add message output format tests | Jakub Hrozek | 1 | -0/+62 | |
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> | |||||
2015-02-09 | Add cmockery legacy header. | Andreas Schneider | 1 | -1/+2 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-02-09 | cmocka: Add support for skipping a test | Jakub Hrozek | 1 | -0/+9 | |
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> | |||||
2015-02-08 | tests: Add a test for failing group setup | Jakub Hrozek | 1 | -0/+8 | |
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se> | |||||
2015-02-08 | tests: Use new cmocka test runner in our tests and examples | Andreas Schneider | 1 | -2/+2 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-02-08 | tests: Add tests for test_malloc() and test_realloc(). | Andreas Schneider | 1 | -0/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-04-11 | tests: Add test_group_fixtures. | Andreas Schneider | 1 | -0/+1 | |
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> | |||||
2014-03-03 | Test should not be run if setup function fails | Lukas Slebodnik | 1 | -1/+41 | |
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> | |||||
2014-03-03 | basic_test should be run with other CMOCKA_TESTS | Lukas Slebodnik | 1 | -1/+2 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-12-23 | tests: Add test_fixtures. | Andreas Schneider | 1 | -0/+1 | |
2013-12-23 | tests: Add test_exception_handler_fail. | Andreas Schneider | 1 | -1/+10 | |
2013-12-23 | tests: Add test_assert_macros_fail. | Andreas Schneider | 1 | -1/+12 | |
2013-12-23 | tests: Add test_assert_macros. | Andreas Schneider | 1 | -0/+14 | |