X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2FMakefile.am;h=bc0f0a59afc336ffb905b37c43f90309758d01d2;hp=e0b3697308e7e844f9defc39c2b6355c7a801a78;hb=ef049beed75d56a90fcc522288da44c7307f3080;hpb=f6a9efaa0fe496b7fa4850daa2eae98a240433e1 diff --git a/tests/Makefile.am b/tests/Makefile.am index e0b369730..bc0f0a59a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,25 +1,13 @@ -AM_CFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/libkernelctl \ - -I$(top_srcdir)/liblttngctl -g -Wall -lurcu -lurcu-cds +SUBDIRS = . tools kernel -EXTRA_DIST = runall.sh lttng/runall.sh lttng/run-kernel-tests.sh +AM_CFLAGS = -g -Wall +AM_LDFLAGS = -lurcu -lurcu-cds -noinst_PROGRAMS = test_sessions test_kernel_data_trace kernel_all_events_basic \ - kernel_event_basic +EXTRA_DIST = run-report.py test_list.py utils.sh utils.h runall.sh -UTILS=utils.h -SESSIONS=$(top_srcdir)/ltt-sessiond/session.c $(top_srcdir)/ltt-sessiond/hashtable.c \ - $(top_srcdir)/hashtable/rculfhash.c $(top_srcdir)/hashtable/hash.c -KERN_DATA_TRACE=$(top_srcdir)/ltt-sessiond/trace-kernel.c -LIBLTTNG=$(top_srcdir)/liblttngctl/lttngctl.c \ - $(top_srcdir)/liblttng-sessiond-comm/lttng-sessiond-comm.c - -test_sessions_SOURCES = test_sessions.c $(UTILS) $(SESSIONS) - -test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE) - -kernel_all_events_basic_SOURCES = lttng/kernel_all_events_basic.c $(UTILS) $(LIBLTTNG) - -kernel_event_basic_SOURCES = lttng/kernel_event_basic.c $(UTILS) $(LIBLTTNG) +if HAVE_LIBLTTNG_UST_CTL +SUBDIRS += ust +endif # HAVE_LIBLTTNG_UST_CTL check-am: ./runall.sh