aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: b252bf5e4211102b088a3101e6b3f615174992c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
if TESTS
check_PROGRAMS =
dist_check_SCRIPTS =
TESTS =
check_HEADERS = test.h

if ITCTEST
check_PROGRAMS += test_itc
dist_check_SCRIPTS += test_itc_valgrind
if VALGRIND
TESTS += test_itc_valgrind
else
TESTS += test_itc
endif

test_itc_SOURCES = test_itc.c test.h
test_itc_LDADD = ../src/libtuberia.a
test_itc_LDFLAGS = -lpthread
endif

if TUBERIATEST
check_PROGRAMS += test_tuberia
dist_check_SCRIPTS += test_tuberia_valgrind
if VALGRIND
TESTS += test_tuberia_valgrind
else
TESTS += test_tuberia
endif

test_tuberia_SOURCES = test_tuberia.c test.h
test_tuberia_LDADD = ../src/libtuberia.a
test_tuberia_LDFLAGS = -lpthread
endif
endif