view modules/snprintf-posix-tests @ 40181:4edc083b6693

Add script for running tests under valgrind. * build-aux/run-test: New file, from GNU libunistring. * doc/valgrind-tests.texi: Rewritten to mention alternative approaches as well.
author Bruno Haible <bruno@clisp.org>
date Mon, 04 Feb 2019 22:35:38 +0100
parents 400649d35651
children
line wrap: on
line source

Files:
tests/test-snprintf-posix.c
tests/test-snprintf-posix.h
tests/test-snprintf.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_SNPRINTF_POSIX], 1,
  [Define to 1 for strict checking in test-snprintf.c.])

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