X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fkernel%2FMakefile.am;h=a257eb07a778c805b790ea9b2ccafb202a62d4b2;hb=HEAD;hp=8547efd675b937e72ba5509b3d7bb89ee26266d8;hpb=016f04504bc66d2cb6b082685c85ce817c25df78;p=lttng-tools.git diff --git a/tests/regression/kernel/Makefile.am b/tests/regression/kernel/Makefile.am index 8547efd67..4fef90d36 100644 --- a/tests/regression/kernel/Makefile.am +++ b/tests/regression/kernel/Makefile.am @@ -1,16 +1,27 @@ # SPDX-License-Identifier: GPL-2.0-only -EXTRA_DIST = test_event_basic test_all_events test_syscall \ - test_clock_override test_rotation_destroy_flush \ - test_select_poll_epoll test_lttng_logger \ - test_userspace_probe test_callstack \ - test_syscall validate_select_poll_epoll.py \ - test_ns_contexts test_ns_contexts_change + +EXTRA_DIST = test_all_events \ + test_callstack \ + test_channel \ + 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) +select_poll_epoll_SOURCES = select_poll_epoll.cpp +select_poll_epoll_LDADD = $(POPT_LIBS) $(top_builddir)/src/common/libcommon-lgpl.la +select_poll_epoll_CPPFLAGS = $(POPT_CFLAGS) $(AM_CPPFLAGS) +# Disable stack protection, the test overflows the stack to test the poll/epoll syscalls +select_poll_epoll_CXXFLAGS = -fno-stack-protector $(AM_CXXFLAGS) all-local: @if [ x"$(srcdir)" != x"$(builddir)" ]; then \