X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fkernel%2FMakefile.am;h=f06f51528fb75b093238caeacb6589d9af34e7b9;hb=b6d14cf333b2b06b4a42d97382c6d5dc3f371a3d;hp=3c479363b232742eed146e2fd58c0d5793fda02a;hpb=c87d483bfee92c86b7a34c1258a835d6eda042e2;p=lttng-tools.git diff --git a/tests/regression/kernel/Makefile.am b/tests/regression/kernel/Makefile.am index 3c479363b..f06f51528 100644 --- a/tests/regression/kernel/Makefile.am +++ b/tests/regression/kernel/Makefile.am @@ -1,6 +1,34 @@ -AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests/utils -g -Wall -AM_LDFLAGS = -lurcu -lurcu-cds +# SPDX-License-Identifier: GPL-2.0-only -EXTRA_DIST = runall.sh run-kernel-tests.sh test_all_events test_event_basic +EXTRA_DIST = test_all_events test_syscall \ + test_callstack \ + test_clock_override \ + test_event_basic \ + test_kernel_function \ + test_lttng_logger \ + test_ns_contexts \ + test_ns_contexts_change + test_rotation_destroy_flush \ + test_select_poll_epoll \ + test_syscall \ + test_userspace_probe \ + validate_select_poll_epoll.py +noinst_PROGRAMS = select_poll_epoll +select_poll_epoll_SOURCES = select_poll_epoll.c +select_poll_epoll_LDADD = $(POPT_LIBS) +select_poll_epoll_CFLAGS = $(POPT_CFLAGS) -fno-stack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 $(AM_CFLAGS) +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi + +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi