Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-11-19 | cmocka: Fix indentation | Arnaud Gelas | 1 | -2/+2 | |
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-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 | cmocka: Add cmocka_set_skip_filter() to skip tests | Anderson Toshiyuki Sasaki | 1 | -3/+18 | |
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-01-25 | cmocka: Use calloc for allocating memory | Andreas Schneider | 1 | -6/+7 | |
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 | 1 | -0/+77 | |
assert_float_equal and assert_float_not_equal | |||||
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-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> | |||||
2018-09-26 | cmocka: Initialize some pointers with NULL | Andreas Schneider | 1 | -6/+6 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-09-26 | cmocka: Initialize the group_state | Andreas Schneider | 1 | -1/+3 | |
2018-09-17 | cmocka: Do not abort if a test is skipped | Andreas Schneider | 1 | -2/+8 | |
Thans to Jeff Olivier. Fixes #3 | |||||
2018-09-06 | cmocka: Remove emtpy newline at the end of the file | Andreas Schneider | 1 | -1/+0 | |
2018-08-29 | cmocka: Fix subunit output on failures | Andreas Schneider | 1 | -1/+1 | |
Fixes #1 Thanks to Jeff Rizzo! | |||||
2018-08-29 | cmocka: Update copyright | Andreas Schneider | 1 | -1/+1 | |
2018-08-24 | cmocka: Fix size type of check_for_leftover_values return value | Andreas Schneider | 1 | -3/+3 | |
2018-08-23 | cmocka: Use a union for MallocBlockInfo | Andreas Schneider | 1 | -35/+49 | |
This fixes alignment issues which could be an issue e.g. on MIPS. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-08-23 | cmocka: Fix size type | Andreas Schneider | 1 | -2/+2 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-08-22 | cmocka: Use memcpy as we do not care about NUL termination | Andreas Schneider | 1 | -1/+1 | |
2018-06-21 | cmocka: Check for possible overflow in test_malloc() | Andreas Schneider | 1 | -5/+10 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-06-12 | cmocka: Improve print output | Andreas Schneider | 1 | -2/+3 | |
2018-06-11 | cmocka: Add cmocka_set_test_filter() to filter tests | Andreas Schneider | 1 | -0/+15 | |
2018-06-11 | cmocka: Add c_strmatch() function | Andreas Schneider | 1 | -0/+58 | |
2018-06-11 | src: Use correct size type for check_for_leftover_values_list() | Andreas Schneider | 1 | -5/+5 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-06-07 | cmocka: Fix filling the cm_tests array. | Andreas Schneider | 1 | -1/+1 | |
2018-06-07 | cmocka: Limit the display of memory if it is not equal | Andreas Schneider | 1 | -3/+8 | |
The buffer we have available is 1K, make sure we do not print more than that. | |||||
2018-05-30 | cmocka: Add checks for sane arguments and allocation | Andreas Schneider | 1 | -2/+11 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2018-03-21 | src: Fix size type for allocated_blocks | Andreas Schneider | 1 | -7/+7 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2017-08-11 | cmocka: Print the error message of a fixture if it fails | Andreas Schneider | 1 | -1/+7 | |
This adds error information to the output. | |||||
2017-06-22 | src: Initialize teardown_name to fix a build warning | Andreas Schneider | 1 | -1/+1 | |
BUG #60 | |||||
2017-04-07 | cmocka: Change define to HAVE_CLOCK_REALTIME | Andreas Schneider | 1 | -1/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2017-04-05 | src: Do not use C++ keywords as local variables | Andreas Schneider | 1 | -5/+5 | |
2017-04-05 | Fix TAP output and summary. | Stas Kobzar | 1 | -7/+7 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-11-12 | src: Add support for compile flag -Wstrict-prototypes | Adrian Friedli | 1 | -2/+2 | |
2016-11-07 | cmocka: Leave if expected_call is NULL | Andreas Schneider | 1 | -2/+3 | |
CID 1365415 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-10-04 | Fixed xUnit output durations | Adrien Marc | 1 | -2/+2 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-09-21 | cmocka: Do not add xml headers twice | Andreas Schneider | 1 | -4/+29 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-09-21 | cmocka: Add file pattern to create xml file for each group | Andreas Schneider | 1 | -0/+46 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-09-21 | Fixed format specifier width mismatch | Joseph Ates | 1 | -6/+14 | |
On some platforms PRIu64 is not necessarily the width of the LargestIntegralType. A new decimal format specifier for LargestIntegralType was added and replaces the invocations of PRIu64. | |||||
2016-09-21 | cmocka: Use defines for WILL_RETURN values | Andreas Schneider | 1 | -1/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-06-02 | vcm_print_error: fix segfault on long messages | Aris Adamantiadis | 1 | -5/+7 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-02-10 | cmocka: Add will_return_maybe() for ignoring mock returns | Joseph Ates | 1 | -2/+4 | |
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 | cmocka: Fix indentation | Joseph Ates | 1 | -3/+3 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-02-10 | cmocka: Include strings.h for strcasecmp | Emil Velikov | 1 | -0/+4 | |
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-02-10 | cmocka: Print group setup and teardown errors | Andreas Schneider | 1 | -1/+15 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-12-18 | cmocka: Add support to verify call ordering | Joseph Ates | 1 | -12/+179 | |
2015-10-05 | src: Fix some compiler warnings | Andreas Schneider | 1 | -5/+5 | |
BUG: https://open.cryptomilk.org/issues/43 |