tests/Makefile.am
author Senko Rasic <senko.rasic@collabora.co.uk>
Sun, 30 Nov 2008 10:20:08 +0100
changeset 575 daad23d59b56
parent 171 118ca6c4520e
child 397 5e2ad0e0704a
permissions -rw-r--r--
Don't check for sync dns problems when using asyncns [#33] lm_socket_create() checks for sync DNS failure, but the check is executed even if Loudmouth is using asyncns, in which case Loudmouth crashes. committer: Mikael Hallendal <micke@imendio.com>

SUBDIRS = parser-tests

TESTS =                                       \
	test-objects                          \
	test-parser

test_objects_SOURCES =                        \
	test-objects.c                        \
	test-objects.h

test_parser_SOURCES =                         \
	test-parser.c

if HAVE_CHECK
noinst_PROGRAMS = $(TESTS)
endif

AM_CPPFLAGS =                                 \
	-I.                                   \
	-I$(top_srcdir)                       \
	-DLM_COMPILATION                      \
	-DRUNTIME_ENDIAN                      \
	$(LOUDMOUTH_CFLAGS)                   \
	-DPARSER_TEST_DIR="\"$(top_srcdir)/tests/parser-tests\""  \
	@CHECK_CFLAGS@

LIBS =                                        \
	$(LOUDMOUTH_LIBS)                     \
	@CHECK_LIBS@                          \
	$(top_builddir)/loudmouth/libloudmouth-1.la