Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
|
|
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
|
|
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
|
|
Marks the old test runner functions as @deprecated in the doxygen config
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Luis Pabón <lpabon@redhat.com>
|
|
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
|
|
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
|
|
Adds documentation for the new XML and subunit output.
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
|
|
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
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>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
BUG: https://open.cryptomilk.org/issues/34
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
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.
|
|
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
|
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
|
|
|
|
|
BUG: https://open.cryptomilk.org/issues/29
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
|
|
|
|
|
functions included
Reviewed-by: Andreas Schneider <asn@samba.org>
|
|
BUG: https://open.cryptomilk.org/issues/26
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
|
|
|
|
|
|
|