Fix double free and out of order delete session
[lttng-tools.git] / tests / Makefile.am
... / ...
CommitLineData
1SUBDIRS = .
2
3AM_CFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/libkernelctl \
4 -I$(top_srcdir)/liblttngctl -g -Wall -lurcu -lurcu-cds
5
6EXTRA_DIST = runall.sh lttng/runall.sh lttng/run-kernel-tests.sh
7
8noinst_PROGRAMS = test_sessions test_kernel_data_trace \
9 kernel_all_events_basic kernel_event_basic
10
11UTILS=utils.h
12SESSIONS=$(top_srcdir)/lttng-sessiond/session.c
13KERN_DATA_TRACE=$(top_srcdir)/lttng-sessiond/trace-kernel.c
14LIBLTTNG=$(top_srcdir)/liblttngctl/lttngctl.c \
15 $(top_srcdir)/liblttng-sessiond-comm/lttng-sessiond-comm.c
16
17test_sessions_SOURCES = test_sessions.c $(UTILS) $(SESSIONS)
18test_sessions_LDADD = $(top_builddir)/common/libcommon.la \
19 $(top_builddir)/liblttng-ht/liblttng-ht.la
20
21test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE)
22
23
24kernel_all_events_basic_SOURCES = lttng/kernel_all_events_basic.c $(UTILS) $(LIBLTTNG)
25
26kernel_event_basic_SOURCES = lttng/kernel_event_basic.c $(UTILS) $(LIBLTTNG)
27
28if HAVE_LIBLTTNG_UST_CTL
29SUBDIRS += ust-nevents ust-nprocesses
30EXTRA_DIST += lttng/run-ust-tests.sh
31noinst_PROGRAMS += ust_global_event_basic ust_global_all_events_basic test_ust_data_trace
32
33UST_DATA_TRACE=$(top_srcdir)/lttng-sessiond/trace-ust.c
34
35test_ust_data_trace_SOURCES = test_ust_data_trace.c $(UTILS) $(UST_DATA_TRACE)
36test_ust_data_trace_LDADD = $(top_builddir)/common/libcommon.la \
37 $(top_builddir)/liblttng-ht/liblttng-ht.la
38
39ust_global_all_events_basic_SOURCES = lttng/ust_global_all_events_basic.c $(UTILS) $(LIBLTTNG)
40
41ust_global_event_basic_SOURCES = lttng/ust_global_event_basic.c $(UTILS) $(LIBLTTNG)
42endif # HAVE_LIBLTTNG_UST_CTL
43
44check-am:
45 ./runall.sh
This page took 0.024136 seconds and 4 git commands to generate.