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