view modules/vsnprintf-posix-tests @ 17935:0ad1f4c9eed5 default tip

tests: support stderr verification with returns_() * tests/init.sh (returns_): Disable tracing for this wrapper function, so that stderr of the wrapped command is unchanged, allowing for verification of the contents.
author Pádraig Brady <P@draigBrady.com>
date Mon, 16 Feb 2015 17:20:39 +0000 (2015-02-16)
parents 400649d35651
children
line wrap: on
line source
Files:
tests/test-vsnprintf-posix.c
tests/test-snprintf-posix.h
tests/test-vsnprintf.c
tests/minus-zero.h
tests/infinity.h
tests/nan.h
tests/signature.h
tests/macros.h

Depends-on:
stdint
float

configure.ac:
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
AC_DEFINE([CHECK_VSNPRINTF_POSIX], 1,
  [Define to 1 for strict checking in test-vsnprintf.c.])

Makefile.am:
TESTS += test-vsnprintf-posix test-vsnprintf
check_PROGRAMS += test-vsnprintf-posix test-vsnprintf