Jonathon Reinhart [Tue, 8 Sep 2015 23:18:48 +0000 (19:18 -0400)]
test: update test_segfault_recovery to try multiple faults
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Jonathon Reinhart [Tue, 8 Sep 2015 03:26:20 +0000 (23:26 -0400)]
Use sigsetjmp()/siglongjmp() when available
Without using siglongjmp, the signal mask is not restored when
longjmp-ing from the signal handler, and whichever signal was
being handled remains blocked for the remainder of the tests. As a
result, the same signal cannot be caught twice, and will cause process
termination when being raised the second time.
This does not change 'jmp_buf global_expect_assert_env', because it is
part of the public API, and isn't used from a signal handler.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 9 Sep 2015 08:16:51 +0000 (10:16 +0200)]
src: Improve error reporting with cmocka default output
Reviewed-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Andreas Schneider [Mon, 7 Sep 2015 07:40:46 +0000 (09:40 +0200)]
src: Filter out invalid tests.
Andreas Schneider [Tue, 4 Aug 2015 17:32:28 +0000 (19:32 +0200)]
include: Protect config.h inclusion
Thanks to Gregory Pakosz.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Sat, 1 Aug 2015 13:55:03 +0000 (15:55 +0200)]
include: Add va_copy macro if MSVC doesn't provide it
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 7 Jul 2015 09:07:01 +0000 (11:07 +0200)]
cmake: Fix warning on OSX
Andreas Schneider [Tue, 7 Jul 2015 09:06:45 +0000 (11:06 +0200)]
def: Add missing cmocka_set_message_output symbol
Pawel Szewczyk [Mon, 11 May 2015 11:34:29 +0000 (13:34 +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>
Andreas Schneider [Mon, 11 May 2015 11:28:43 +0000 (13:28 +0200)]
gitignor: Ignore all object file directories
Ellie Timoney [Mon, 11 May 2015 11:26:23 +0000 (13:26 +0200)]
cmocka: Add subtests for groups using TAP output
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 12 Mar 2015 11:56:06 +0000 (12:56 +0100)]
Bump version to 1.0.1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 12 Mar 2015 11:55:49 +0000 (12:55 +0100)]
Update ChangeLog.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Niels de Vos [Thu, 26 Feb 2015 20:47:03 +0000 (21:47 +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>
Jakub Hrozek [Wed, 25 Feb 2015 08:09:35 +0000 (09:09 +0100)]
Fix function types in doxygen docs
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Fri, 20 Feb 2015 14:06:18 +0000 (15:06 +0100)]
cmake: Use https to drop results.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Fri, 20 Feb 2015 08:48:36 +0000 (09:48 +0100)]
include: Add macro for assert_ptr_equal().
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Fri, 20 Feb 2015 08:47:44 +0000 (09:47 +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>
Andreas Schneider [Mon, 16 Feb 2015 14:22:38 +0000 (15:22 +0100)]
cpack: Exclude object directories.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Sun, 8 Feb 2015 12:49:51 +0000 (13:49 +0100)]
Bump version to 1.0.0.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Sat, 7 Feb 2015 17:07:32 +0000 (18:07 +0100)]
Update ChangeLog.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Fri, 13 Feb 2015 12:36:52 +0000 (13:36 +0100)]
include: Use LargestIntegralType instead of uintmax_t
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Fri, 13 Feb 2015 12:08:17 +0000 (13:08 +0100)]
include: Fix documentation for mock functions
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 12 Feb 2015 18:44:39 +0000 (19:44 +0100)]
cmake: Disable some tests on Windows.
They work when executed manually but not with ctest.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 12 Feb 2015 18:17:46 +0000 (19:17 +0100)]
examples: Use WILL_FAIL instead of regular expression
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 12 Feb 2015 17:34:17 +0000 (18:34 +0100)]
cmake: Fix running examples on Windows.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Jakub Hrozek [Thu, 12 Feb 2015 17:05:16 +0000 (18:05 +0100)]
tests: Use a different regex for segfault on Windows
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Krzysztof Opasiak [Thu, 12 Feb 2015 13:11:41 +0000 (14:11 +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>
Krzysztof Opasiak [Thu, 12 Feb 2015 13:11:37 +0000 (14:11 +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>
Jakub Hrozek [Thu, 12 Feb 2015 16:10:21 +0000 (17:10 +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
Andreas Schneider [Thu, 12 Feb 2015 16:05:39 +0000 (17:05 +0100)]
cmake: Always set correct output name.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 12 Feb 2015 16:00:34 +0000 (17:00 +0100)]
include: Correctly include signal.h
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 12 Feb 2015 08:14:10 +0000 (09:14 +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>
Andreas Schneider [Thu, 12 Feb 2015 08:03:16 +0000 (09:03 +0100)]
cmake: Build tests with the static library.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 12 Feb 2015 08:00:17 +0000 (09:00 +0100)]
include: Fix warning for missing __WORDSIZE
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 11 Feb 2015 17:13:55 +0000 (18:13 +0100)]
tests: Add io.h for open() and close() on Windows.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 11 Feb 2015 17:09:55 +0000 (18:09 +0100)]
cmake: Do not set gcc flags in VC.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 11 Feb 2015 17:00:11 +0000 (18:00 +0100)]
tests: Fix test_assert_macros* with Visual Studio.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 11 Feb 2015 16:57:28 +0000 (17:57 +0100)]
tests: Fix building the tests with Visual Studio.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 11 Feb 2015 16:44:37 +0000 (17:44 +0100)]
config: Add missing define for (v)snprintf functions.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 11 Feb 2015 16:36:10 +0000 (17:36 +0100)]
cmake: Fix a typo in the options
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 11 Feb 2015 10:20:08 +0000 (11:20 +0100)]
cmocka: Cast correctly to errno type
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 11 Feb 2015 10:19:40 +0000 (11:19 +0100)]
include: Add missing functions for Visual Studio.
Move the ugly stuff to cmocka_private.h.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 11 Feb 2015 10:19:10 +0000 (11:19 +0100)]
def: Export missing symbols on Windows.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 11 Feb 2015 07:21:43 +0000 (08:21 +0100)]
cmocka: Fix possible test state issues
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 11 Feb 2015 07:10:07 +0000 (08:10 +0100)]
include: Define __WORDSIZE if needed.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 11 Feb 2015 06:55:47 +0000 (07:55 +0100)]
include: Fix pointer casting and add check_expected_ptr()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 10 Feb 2015 14:36:13 +0000 (15:36 +0100)]
cmocka: Fix a double free in cmprintf_tap()
CID: #1268622
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 10 Feb 2015 14:34:23 +0000 (15:34 +0100)]
cmocka: Initialize group_state in _cmocka_run_group_tests()
CID: #1268623
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 10 Feb 2015 14:05:37 +0000 (15:05 +0100)]
cmake: Turn off deprecated warning for test_cmockery.c
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 10 Feb 2015 09:59:15 +0000 (10:59 +0100)]
include: Define fix defintion of LargestIntegralType
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 10 Feb 2015 09:53:32 +0000 (10:53 +0100)]
cmocka: Fix printf integer formats.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 10 Feb 2015 07:11:30 +0000 (08:11 +0100)]
cmocka: Add printf attribute checking for vcm_print_error()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 9 Feb 2015 12:39:57 +0000 (13:39 +0100)]
cmocka: Check if 'struct timespec' is available.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 9 Feb 2015 13:42:34 +0000 (14:42 +0100)]
cmocka: Only handle SIGBUS and SIGSYS if the system supports it.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 10 Feb 2015 07:07:16 +0000 (08:07 +0100)]
cmocka: Fix length calculation.
CID: #1268624
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
SQ
Andreas Schneider [Tue, 10 Feb 2015 07:23:25 +0000 (08:23 +0100)]
cmocka: Allow include of cmocka_platform.h
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Jakub Hrozek [Mon, 9 Feb 2015 22:44:59 +0000 (23:44 +0100)]
tests: Add message output format tests
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Jakub Hrozek [Tue, 10 Feb 2015 10:12:00 +0000 (11:12 +0100)]
cmocka: Add a newline to subunit error output
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Jakub Hrozek [Tue, 10 Feb 2015 12:03:03 +0000 (13:03 +0100)]
cmocka: Print test errors directly to make them included in the XML output
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Jakub Hrozek [Mon, 9 Feb 2015 20:52:30 +0000 (21:52 +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>
Andreas Schneider [Mon, 9 Feb 2015 12:16:07 +0000 (13:16 +0100)]
cmake: Add ctest script.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Sat, 7 Feb 2015 17:14:46 +0000 (18:14 +0100)]
Add cmockery legacy header.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Luis Pabón [Sat, 7 Feb 2015 17:18:12 +0000 (18:18 +0100)]
include: Add Programming by Contract header.
Signed-off-by: Luis Pabón <lpabon@redhat.com>
Jakub Hrozek [Sat, 7 Feb 2015 16:48:06 +0000 (17:48 +0100)]
cmocka: Add support for skipping a test
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Andreas Schneider [Sat, 7 Feb 2015 14:27:29 +0000 (15:27 +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>
Jakub Hrozek [Thu, 5 Feb 2015 16:05:56 +0000 (17:05 +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>
Jakub Hrozek [Wed, 4 Feb 2015 17:38:38 +0000 (18:38 +0100)]
cmocka: Add subunit message output type
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Jakub Hrozek [Wed, 4 Feb 2015 17:01:02 +0000 (18:01 +0100)]
cmocka: Add a function to select the message output type
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Jakub Hrozek [Sat, 7 Feb 2015 09:41:46 +0000 (10:41 +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>
Andreas Schneider [Mon, 15 Sep 2014 07:47:53 +0000 (09:47 +0200)]
doc: Update cmocka documentation for new test runner.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Sun, 14 Sep 2014 18:05:06 +0000 (20:05 +0200)]
cmocka: Mark run_tests as deprecated.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Jakub Hrozek [Wed, 4 Feb 2015 16:48:42 +0000 (17:48 +0100)]
cmocka: Add new message printing formatter for testcases
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Jakub Hrozek [Sat, 7 Feb 2015 14:18:25 +0000 (15:18 +0100)]
tests: Add a test for failing group setup
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Andreas Schneider [Fri, 12 Sep 2014 15:18:57 +0000 (17:18 +0200)]
tests: Use new cmocka test runner in our tests and examples
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 5 Feb 2015 09:45:30 +0000 (10:45 +0100)]
cmocka: Add support to print errors into a buffer.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 20 Oct 2014 08:17:03 +0000 (10:17 +0200)]
cmocka: Add correct checks for clock_gettime().
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Fri, 5 Sep 2014 15:02:04 +0000 (17:02 +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>
Andreas Schneider [Fri, 6 Feb 2015 10:50:41 +0000 (11:50 +0100)]
tests: Add tests for test_malloc() and test_realloc().
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Jakub Hrozek [Sat, 7 Feb 2015 15:27:31 +0000 (16:27 +0100)]
cmocka: Add explicit libc_alloc, realloc, free
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Andreas Schneider [Fri, 6 Feb 2015 10:50:05 +0000 (11:50 +0100)]
cmocka: Add a test_realloc() function.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Fri, 6 Feb 2015 10:51:22 +0000 (11:51 +0100)]
cmocka: Allow test_free() to deal with NULL pointers.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 11 Sep 2014 15:19:27 +0000 (17:19 +0200)]
cmocka: Make global variables thread local.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 11 Sep 2014 15:07:50 +0000 (17:07 +0200)]
cmake: Add configure checks for thread local storage.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 11 Sep 2014 15:10:56 +0000 (17:10 +0200)]
config: Remove unused options.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Sun, 14 Sep 2014 18:09:27 +0000 (20:09 +0200)]
cmocka: Use ARRAY_SIZE everywhere.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 20 Oct 2014 08:13:27 +0000 (10:13 +0200)]
config: Fix define for strsignal().
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 30 Sep 2014 14:32:46 +0000 (16:32 +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>
Jakub Hrozek [Tue, 29 Jul 2014 08:22:31 +0000 (10:22 +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.
Andreas Schneider [Thu, 7 Aug 2014 11:29:33 +0000 (13:29 +0200)]
cmake: Use standard cmake variables in CMakeLists.txt.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Emil Velikov [Fri, 25 Jul 2014 13:31:24 +0000 (14:31 +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>
Emil Velikov [Fri, 25 Jul 2014 13:31:23 +0000 (14:31 +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>
Emil Velikov [Sat, 19 Jul 2014 17:51:18 +0000 (18:51 +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>
Emil Velikov [Sat, 19 Jul 2014 17:51:19 +0000 (18:51 +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>
Michael Adam [Thu, 29 May 2014 14:00:11 +0000 (16:00 +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>
Michael Adam [Thu, 29 May 2014 13:57:37 +0000 (15:57 +0200)]
cmocka: fix doxygen comment for assert_in_range()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Michael Adam [Thu, 29 May 2014 13:55:11 +0000 (15:55 +0200)]
cmocka: fix doxygen comment for assert_return_code()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 22 May 2014 12:40:35 +0000 (14:40 +0200)]
Bump version to 0.4.1.
Andreas Schneider [Thu, 22 May 2014 12:34:11 +0000 (14:34 +0200)]
cmake: Fix cmocka cmake-config files.
Andreas Schneider [Tue, 20 May 2014 09:03:39 +0000 (11:03 +0200)]
doc: Improve documentation for fail_msg().
BUG: https://open.cryptomilk.org/issues/29
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>