snprintf: moved self-test to a separated test

This commit is contained in:
Dmitry Podgorny
2015-10-16 00:05:26 +03:00
parent 4cc9ba79c4
commit 60cfcc72e6
4 changed files with 94 additions and 77 deletions

View File

@@ -66,7 +66,7 @@ examples_uuid_LDADD = $(STROPHE_LIBS)
## Tests
TESTS = tests/check_parser tests/test_sha1 tests/test_rand tests/test_scram \
tests/test_base64
tests/test_base64 tests/test_snprintf
check_PROGRAMS = $(TESTS)
tests_check_parser_SOURCES = tests/check_parser.c tests/test.h
@@ -88,3 +88,6 @@ tests_test_scram_CFLAGS = $(STROPHE_FLAGS) -I$(top_srcdir)/src
tests_test_sha1_SOURCES = tests/test_sha1.c src/sha1.c
tests_test_sha1_CFLAGS = -I$(top_srcdir)/src
tests_test_snprintf_SOURCES = tests/test_snprintf.c
tests_test_snprintf_CFLAGS = -I$(top_srcdir)/src