Re: [ANN] net-next is OPEN
From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-01-24 15:07:57
On Wed, 24 Jan 2024 09:22:15 +0100 Paolo Abeni wrote:
On Tue, 2024-01-23 at 22:20 -0700, David Ahern wrote:quoted
thanks for the tip to direclty run the tests.
Actually, I simplified this one a little bit. What we do now is:
make -C tools/testing/selftests TARGETS={target} TEST_PROGS={prog} TEST_GEN_PROGS="" run_tests
This let's us run tests individually. This way we can put them in
a FIFO and have multiple workers run them in parallel.
quoted
the script needs lot more than 45 seconds. This does the trick, but not sure how to bump the timeout for a specific test.You can set a test-group-specific timeout touching the 'settings' file in the relevant directory. Note that for 'net' self-tests the timeout is currently 3600 seconds (for each test). AFAIK there is no way to set a single-test-specific timeout, without running that specific test individually: make install TARGETS=net ./kselftest_install/run_kselftest.sh -o <timeout in sec> -t net:fcnal-test.sh
Yet another thing run_kselftest.sh can do that make can't :( We should probably bite the bullet and switch to it at some point. David, I applied your diff locally, hopefully I did it in time for the 7am Pacific run to have it included :)