From cb0320feb9da77077bc47a240ed040dbef2e6af0 Mon Sep 17 00:00:00 2001 From: Geliang Tang Date: Thu, 3 Oct 2024 14:23:39 +0800 Subject: [PATCH] TEST Signed-off-by: Geliang Tang --- tools/testing/selftests/bpf/Makefile | 2 +- tools/testing/selftests/bpf/prog_tests/mptcp.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index 662825f55f99c..3969baa70b5fc 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -41,7 +41,7 @@ srctree := $(patsubst %/,%,$(dir $(srctree))) endif CFLAGS += -g $(OPT_FLAGS) -rdynamic \ - -Wall -Werror -fno-omit-frame-pointer \ + -fno-omit-frame-pointer \ $(GENFLAGS) $(SAN_CFLAGS) $(LIBELF_CFLAGS) \ -I$(CURDIR) -I$(INCLUDE_DIR) -I$(GENDIR) -I$(LIBDIR) \ -I$(TOOLSINCDIR) -I$(APIDIR) -I$(OUTPUT) diff --git a/tools/testing/selftests/bpf/prog_tests/mptcp.c b/tools/testing/selftests/bpf/prog_tests/mptcp.c index 7d574ef1890de..101835598a15d 100644 --- a/tools/testing/selftests/bpf/prog_tests/mptcp.c +++ b/tools/testing/selftests/bpf/prog_tests/mptcp.c @@ -1234,12 +1234,14 @@ static void test_stale(void) void test_mptcp(void) { +#if 1 if (test__start_subtest("base")) test_base(); if (test__start_subtest("mptcpify")) test_mptcpify(); if (test__start_subtest("subflow")) test_subflow(); +#endif if (test__start_subtest("iters_subflow")) test_iters_subflow(); if (test__start_subtest("iters_entry")) @@ -1250,6 +1252,7 @@ void test_mptcp(void) test_userspace_pm(); if (test__start_subtest("userspace_bpf")) test_userspace_bpf(); +#if 1 if (test__start_subtest("default")) test_default(); if (test__start_subtest("first")) @@ -1264,4 +1267,5 @@ void test_mptcp(void) test_burst(); if (test__start_subtest("stale")) test_stale(); +#endif }