From: Anders Roxell <hidden> Date: 2018-08-21 16:12:23
'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.
Signed-off-by: Anders Roxell <redacted>
---
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
On Tue, Aug 21, 2018 at 06:12:12PM +0200, Anders Roxell wrote:
'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.
On Tue, Aug 21, 2018 at 06:12:12PM +0200, Anders Roxell wrote:
quoted
'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.
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
On Tue, Aug 21, 2018 at 01:41:54PM -0600, Shuah Khan wrote:
On 08/21/2018 12:56 PM, Ido Schimmel wrote:
quoted
On Tue, Aug 21, 2018 at 06:12:12PM +0200, Anders Roxell wrote:
quoted
'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.
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.
On Tue, Aug 21, 2018 at 01:41:54PM -0600, Shuah Khan wrote:
quoted
On 08/21/2018 12:56 PM, Ido Schimmel wrote:
quoted
On Tue, Aug 21, 2018 at 06:12:12PM +0200, Anders Roxell wrote:
quoted
'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.
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.
Acked-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
thanks,
-- Shuah