Add UST validation test for data structure
authorDavid Goulet <dgoulet@efficios.com>
Mon, 16 Jan 2012 18:12:02 +0000 (13:12 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 16 Jan 2012 18:12:02 +0000 (13:12 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
.gitignore
tests/Makefile.am
tests/runall.sh

index 3d6f5a3b9e75ead1c1bd797edc508513d586bfea..d7e624f6a3bd1a50f9667fb44f1a98017a8d1289 100644 (file)
@@ -37,6 +37,7 @@ lttng-consumerd/lttng-consumerd
 
 tests/test_sessions
 tests/test_kernel_data_trace
+tests/test_ust_data_trace
 tests/kernel_all_events_basic
 tests/kernel_event_basic
 tests/ust_global_all_events_basic
index 77bed35ca99e41961fd2fab7fd3cd57ee0339bd0..10db1bb6b636b16bde5644c711c36de09cb8b713 100644 (file)
@@ -3,20 +3,27 @@ AM_CFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/libkernelctl \
 
 EXTRA_DIST = runall.sh lttng/runall.sh lttng/run-kernel-tests.sh lttng/run-ust-tests.sh
 
-noinst_PROGRAMS = test_sessions test_kernel_data_trace kernel_all_events_basic \
-                                 kernel_event_basic ust_global_event_basic ust_global_all_events_basic
+noinst_PROGRAMS = test_sessions test_kernel_data_trace test_ust_data_trace \
+                                 kernel_all_events_basic kernel_event_basic \
+                                 ust_global_event_basic ust_global_all_events_basic
 
 UTILS=utils.h
 SESSIONS=$(top_srcdir)/lttng-sessiond/session.c
 KERN_DATA_TRACE=$(top_srcdir)/lttng-sessiond/trace-kernel.c
+UST_DATA_TRACE=$(top_srcdir)/lttng-sessiond/trace-ust.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_sessions_LDADD = $(top_builddir)/common/libcommon.la
+test_sessions_LDADD = $(top_builddir)/common/libcommon.la \
+                                         $(top_builddir)/liblttng-ht/liblttng-ht.la
 
 test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE)
 
+test_ust_data_trace_SOURCES = test_ust_data_trace.c $(UTILS) $(UST_DATA_TRACE)
+test_ust_data_trace_LDADD = $(top_builddir)/common/libcommon.la \
+                                                       $(top_builddir)/liblttng-ht/liblttng-ht.la
+
 kernel_all_events_basic_SOURCES = lttng/kernel_all_events_basic.c $(UTILS) $(LIBLTTNG)
 
 kernel_event_basic_SOURCES = lttng/kernel_event_basic.c $(UTILS) $(LIBLTTNG)
index 8abc4aaa124944d5c6a9013460efa58b4bc25610..ec6fb3928262a491645baea9376458c87ff865bf 100755 (executable)
@@ -19,7 +19,7 @@
 
 #### ADD TESTS HERE ####
 
-test_suite=( test_sessions test_kernel_data_trace lttng/runall.sh )
+test_suite=( test_sessions test_kernel_data_trace test_ust_data_trace lttng/runall.sh )
 
 #### END TESTS HERE ####
 
This page took 0.0342 seconds and 4 git commands to generate.