aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: 4800141dbe92ae07b03f5e271d07bb4a66d80905 (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
check_PROGRAMS =
TESTS =
check_HEADERS = test.h

if TESTS

if ITCTEST
check_PROGRAMS += test_itc
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
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