selftests: net: move fragment forwarding/config up a level
Subsystems (4)
PATCH 1/1 selftests: net: move fragment forwarding/config up a level
'make kselftest-merge' assumes that the config files for the tests are located under the 'main' tet dir, like tools/testing/selftests/net/ and not in a subdir to net.
--- tools/testing/selftests/net/config | 13 +++++++++---- tools/testing/selftests/net/forwarding/config | 12 ------------ 2 files changed, 9 insertions(+), 16 deletions(-) delete mode 100644 tools/testing/selftests/net/forwarding/config
tools/testing/selftests/net/config +9 -4
@@ -2,15 +2,20 @@ CONFIG_USER_NS=y CONFIG_BPF_SYSCALL=y CONFIG_TEST_BPF=m CONFIG_NUMA=y -CONFIG_NET_VRF=y +CONFIG_NET_VRF=m CONFIG_NET_L3_MASTER_DEV=y CONFIG_IPV6=y CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_VETH=y +CONFIG_VETH=m CONFIG_INET_XFRM_MODE_TUNNEL=y CONFIG_NET_IPVTI=y CONFIG_INET6_XFRM_MODE_TUNNEL=y CONFIG_IPV6_VTI=y CONFIG_DUMMY=y -CONFIG_BRIDGE=y -CONFIG_VLAN_8021Q=y +CONFIG_BRIDGE=m +CONFIG_VLAN_8021Q=m +CONFIG_CGROUP_BPF=y +CONFIG_NET_CLS_FLOWER=m +CONFIG_NET_SCH_INGRESS=m +CONFIG_NET_ACT_GACT=m +CONFIG_BRIDGE_VLAN_FILTERING=y
tools/testing/selftests/net/forwarding/config deleted +0 -12
@@ -1,12 +0,0 @@ -CONFIG_BRIDGE=m -CONFIG_VLAN_8021Q=m -CONFIG_BRIDGE_VLAN_FILTERING=y -CONFIG_NET_L3_MASTER_DEV=y -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_NET_VRF=m -CONFIG_BPF_SYSCALL=y -CONFIG_CGROUP_BPF=y -CONFIG_NET_CLS_FLOWER=m -CONFIG_NET_SCH_INGRESS=m -CONFIG_NET_ACT_GACT=m -CONFIG_VETH=m
Signature · 1 line
2.18.0
Quoted 3 lines · Anders Roxell
'make kselftest-merge' assumes that the config files for the tests are located under the 'main' tet dir, like
tools/testing/selftests/net/and not in a subdir to net.
The tests under tools/testing/selftests/net/forwarding/ aren't executed as part of the Makefile. The config file is there mainly so that people will know which config options they need in order to run the tests.
The tests can be added to the Makefile, but some of them take a few minutes to complete which is probably against "Don't take too long;" mentioned in Documentation/dev-tools/kselftest.rst.
Shuah Khan
maintainerQuoted 5 lines · Ido Schimmel
Quoted 3 lines · Anders Roxell
'make kselftest-merge' assumes that the config files for the tests are located under the 'main' tet dir, like
tools/testing/selftests/net/and not in a subdir to net.
Quoted 8 lines
The tests under
tools/testing/selftests/net/forwarding/aren't executed as part of theMakefile. The config file is there mainly so that people will know which config options they need in order to run the tests.The tests can be added to the
Makefile, but some of them take a few minutes to complete which is probably against "Don't take too long;" mentioned inDocumentation/dev-tools/kselftest.rst.
I don't see any reason why these shouldn't be added. With the number of tests that get run by default, time has gone up. The goal is to run more tests not less. There are some stress/destructive tests that continue to be left out of the Makefile.
thanks,
-- Shuah
Quoted 15 lines · Shuah Khan
Quoted 5 lines · Ido Schimmel
Quoted 3 lines · Anders Roxell
'make kselftest-merge' assumes that the config files for the tests are located under the 'main' tet dir, like
tools/testing/selftests/net/and not in a subdir to net.Quoted 8 lines
The tests under
tools/testing/selftests/net/forwarding/aren't executed as part of theMakefile. The config file is there mainly so that people will know which config options they need in order to run the tests.The tests can be added to the
Makefile, but some of them take a few minutes to complete which is probably against "Don't take too long;" mentioned inDocumentation/dev-tools/kselftest.rst.
Quoted 4 lines
I don't see any reason why these shouldn't be added. With the number of tests that get run by default, time has gone up. The goal is to run more tests not less. There are some stress/destructive tests that continue to be left out of the
Makefile.
Thanks for clarifying. I'll add the tests.
Quoted 16 lines · Ido Schimmel
Quoted 15 lines · Shuah Khan
Quoted 13 lines · Ido Schimmel
Quoted 3 lines · Anders Roxell
'make kselftest-merge' assumes that the config files for the tests are located under the 'main' tet dir, like
tools/testing/selftests/net/and not in a subdir to net.The tests under
tools/testing/selftests/net/forwarding/aren't executed as part of theMakefile. The config file is there mainly so that people will know which config options they need in order to run the tests.The tests can be added to the
Makefile, but some of them take a few minutes to complete which is probably against "Don't take too long;" mentioned inDocumentation/dev-tools/kselftest.rst.
Quoted 7 lines
Quoted 4 lines
I don't see any reason why these shouldn't be added. With the number of tests that get run by default, time has gone up. The goal is to run more tests not less. There are some stress/destructive tests that continue to be left out of the
Makefile.Thanks for clarifying. I'll add the tests.
Great. This change to move config up one level looks good to me. Dave takes net selftest patches through net tree usually. So I will leave this up to take it through his process.
thanks,
-- Shuah