aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: 2b94dddaf03055c9ea833dbb5dd4b49c9591c9a1 (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 =
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