Activate streaming tests in make check
[lttng-tools.git] / tests / tools / Makefile.am
1 SUBDIRS = streaming
2
3 AM_CFLAGS = -g -Wall -I../
4 AM_LDFLAGS = -lurcu -lurcu-cds
5
6 EXTRA_DIST = runall.sh
7
8 noinst_PROGRAMS = test_sessions test_kernel_data_trace
9
10 UTILS=../utils.h
11 SESSIONS=$(top_srcdir)/src/bin/lttng-sessiond/session.c
12 KERN_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-kernel.c \
13 $(top_srcdir)/src/bin/lttng-sessiond/consumer.c \
14 $(top_srcdir)/src/common/uri.c \
15 $(top_srcdir)/src/common/utils.c
16 COMMON=$(top_builddir)/src/common/libcommon.la
17 HASHTABLE=$(top_builddir)/src/common/hashtable/libhashtable.la
18 SESSIOND_COMM=$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la
19
20 # Tracing sessions unit tests
21 test_sessions_SOURCES = test_sessions.c $(UTILS) $(SESSIONS)
22 test_sessions_LDADD = $(COMMON) $(HASHTABLE)
23
24 # Kernel trace data unit tests
25 test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE)
26 test_kernel_data_trace_LDADD = $(SESSIOND_COMM) $(HASHTABLE)
27
28 if HAVE_LIBLTTNG_UST_CTL
29 noinst_PROGRAMS += test_ust_data_trace
30 UST_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-ust.c \
31 $(top_srcdir)/src/bin/lttng-sessiond/consumer.c \
32 $(top_srcdir)/src/common/uri.c \
33 $(top_srcdir)/src/common/utils.c
34 # UST trace data unit tests
35 test_ust_data_trace_SOURCES = test_ust_data_trace.c $(UTILS) $(UST_DATA_TRACE)
36 test_ust_data_trace_LDADD = $(COMMON) $(HASHTABLE) $(SESSIOND_COMM)
37 endif
This page took 0.04227 seconds and 4 git commands to generate.