Fix wrong return value on consumer socket creation
[lttng-tools.git] / tests / Makefile.am
1 SUBDIRS = .
2
3 AM_CFLAGS = -g -Wall
4 AM_LDFLAGS = -lurcu -lurcu-cds
5
6 EXTRA_DIST = runall.sh utils.sh lttng/runall.sh lttng/run-kernel-tests.sh
7
8 noinst_PROGRAMS = test_sessions test_kernel_data_trace \
9 kernel_all_events_basic kernel_event_basic
10
11 UTILS=utils.h
12 SESSIONS=$(top_srcdir)/src/bin/lttng-sessiond/session.c
13 KERN_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-kernel.c
14 LIBLTTNG=$(top_srcdir)/src/lib/lttng-ctl/lttng-ctl.c \
15 $(top_srcdir)/src/common/sessiond-comm/sessiond-comm.c
16
17 test_sessions_SOURCES = test_sessions.c $(UTILS) $(SESSIONS)
18 test_sessions_LDADD = $(top_builddir)/src/common/libcommon.la \
19 $(top_builddir)/src/common/hashtable/libhashtable.la
20
21 test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE)
22
23 kernel_all_events_basic_SOURCES = lttng/kernel_all_events_basic.c $(UTILS) $(LIBLTTNG)
24
25 kernel_event_basic_SOURCES = lttng/kernel_event_basic.c $(UTILS) $(LIBLTTNG)
26
27 if HAVE_LIBLTTNG_UST_CTL
28 SUBDIRS += ust-nevents ust-nprocesses
29 EXTRA_DIST += lttng/run-ust-global-tests.sh
30 noinst_PROGRAMS += ust_global_event_basic ust_global_all_events_basic test_ust_data_trace
31
32 UST_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-ust.c
33
34 test_ust_data_trace_SOURCES = test_ust_data_trace.c $(UTILS) $(UST_DATA_TRACE)
35 test_ust_data_trace_LDADD = $(top_builddir)/src/common/libcommon.la \
36 $(top_builddir)/src/common/hashtable/libhashtable.la
37
38 ust_global_all_events_basic_SOURCES = lttng/ust_global_all_events_basic.c $(UTILS) $(LIBLTTNG)
39
40 ust_global_event_basic_SOURCES = lttng/ust_global_event_basic.c $(UTILS) $(LIBLTTNG)
41 endif # HAVE_LIBLTTNG_UST_CTL
42
43 check-am:
44 ./runall.sh
This page took 0.031488 seconds and 4 git commands to generate.