tests: add tests for string functions

This commit is contained in:
Dmitry Podgorny
2016-09-04 00:52:37 +03:00
parent 53e44aa0e3
commit c80f99bc68
3 changed files with 123 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ examples_uuid_LDADD = $(STROPHE_LIBS)
## Tests
TESTS = tests/check_parser tests/test_sha1 tests/test_md5 tests/test_rand \
tests/test_scram tests/test_ctx tests/test_base64 tests/test_jid \
tests/test_snprintf tests/test_resolver
tests/test_snprintf tests/test_string tests/test_resolver
check_PROGRAMS = $(TESTS)
tests_check_parser_SOURCES = tests/check_parser.c tests/test.h
@@ -120,3 +120,8 @@ tests_test_md5_CFLAGS = -I$(top_srcdir)/src
tests_test_snprintf_SOURCES = tests/test_snprintf.c
tests_test_snprintf_CFLAGS = -I$(top_srcdir)/src
tests_test_string_SOURCES = tests/test_string.c tests/test.h
tests_test_string_CFLAGS = $(STROPHE_FLAGS) -I$(top_srcdir)/src
tests_test_string_LDADD = $(STROPHE_LIBS)
tests_test_string_LDFLAGS = -static