summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/mptcp/Makefile
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2020-03-28 00:48:52 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-30 08:14:49 +0300
commiteedbc685321b38fea58a14c9fbd258c4b2c2747c (patch)
tree1f48d04830aaa7473f6878e7771970e3f1a5d41a /tools/testing/selftests/net/mptcp/Makefile
parent01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 (diff)
downloadlinux-eedbc685321b38fea58a14c9fbd258c4b2c2747c.tar.xz
selftests: add PM netlink functional tests
This introduces basic self-tests for the PM netlink, checking the basic APIs and possible exceptional values. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/mptcp/Makefile')
-rw-r--r--tools/testing/selftests/net/mptcp/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/testing/selftests/net/mptcp/Makefile b/tools/testing/selftests/net/mptcp/Makefile
index ba450e62dc5b..70c831fcaf70 100644
--- a/tools/testing/selftests/net/mptcp/Makefile
+++ b/tools/testing/selftests/net/mptcp/Makefile
@@ -1,12 +1,13 @@
# SPDX-License-Identifier: GPL-2.0
top_srcdir = ../../../../..
+KSFT_KHDR_INSTALL := 1
-CFLAGS = -Wall -Wl,--no-as-needed -O2 -g
+CFLAGS = -Wall -Wl,--no-as-needed -O2 -g -I$(top_srcdir)/usr/include
-TEST_PROGS := mptcp_connect.sh
+TEST_PROGS := mptcp_connect.sh pm_netlink.sh
-TEST_GEN_FILES = mptcp_connect
+TEST_GEN_FILES = mptcp_connect pm_nl_ctl
TEST_FILES := settings