summaryrefslogtreecommitdiff
path: root/tests/libutil/Makemodule.am
blob: 1fe4ebf6d199567c123f7bb15ae304b4e550e55c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
test_str_table_SOURCES = tests/libutil/str_table.c tests/test.h
test_str_table_LDADD = libutil.a libfstream.a libcompat.a
test_str_table_CPPFLAGS = $(AM_CPPFLAGS) -DTESTPATH=$(top_srcdir)/tests/libutil

test_rbtree_SOURCES = tests/libutil/rbtree.c tests/test.h
test_rbtree_LDADD = libutil.a libcompat.a

test_xxhash_SOURCES = tests/libutil/xxhash.c
test_xxhash_LDADD = libutil.a libcompat.a

test_threadpool_SOURCES = tests/libutil/threadpool.c
test_threadpool_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
test_threadpool_LDADD = libutil.a libcompat.a $(PTHREAD_LIBS)

LIBUTIL_TESTS = \
	test_str_table test_rbtree test_xxhash test_threadpool

check_PROGRAMS += $(LIBUTIL_TESTS)
TESTS += $(LIBUTIL_TESTS)
EXTRA_DIST += $(top_srcdir)/tests/libutil/words.txt