Message ID | 20211101040609.127729-5-liuhangbin@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | kselftests/net: add missed tests to Makefile | expand |
On Mon, Nov 1, 2021 at 12:06 AM Hangbin Liu <liuhangbin@gmail.com> wrote: > > When generating the selftests to another folder, the toeplitz.sh > and toeplitz_client.sh are missing as they are not in Makefile, e.g. > > make -C tools/testing/selftests/ install \ > TARGETS="net" INSTALL_PATH=/tmp/kselftests > > Fixes: 5ebfb4cc3048 ("selftests/net: toeplitz test") > Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> > --- > tools/testing/selftests/net/Makefile | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile > index 8a6264da5276..514bbed80e68 100644 > --- a/tools/testing/selftests/net/Makefile > +++ b/tools/testing/selftests/net/Makefile > @@ -31,7 +31,9 @@ TEST_PROGS += gre_gso.sh > TEST_PROGS += srv6_end_dt46_l3vpn_test.sh > TEST_PROGS += srv6_end_dt4_l3vpn_test.sh > TEST_PROGS += srv6_end_dt6_l3vpn_test.sh > +TEST_PROGS += toeplitz.sh > TEST_PROGS_EXTENDED := in_netns.sh setup_loopback.sh setup_veth.sh > +TEST_PROGS_EXTENDED += toeplitz_client.sh Thanks for adding the files. They are indeed missing. But they are not intended to be run from kselftests, as this tests nic hardware features. So both files should be under TEST_PROGS_EXTENDED?
diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile index 8a6264da5276..514bbed80e68 100644 --- a/tools/testing/selftests/net/Makefile +++ b/tools/testing/selftests/net/Makefile @@ -31,7 +31,9 @@ TEST_PROGS += gre_gso.sh TEST_PROGS += srv6_end_dt46_l3vpn_test.sh TEST_PROGS += srv6_end_dt4_l3vpn_test.sh TEST_PROGS += srv6_end_dt6_l3vpn_test.sh +TEST_PROGS += toeplitz.sh TEST_PROGS_EXTENDED := in_netns.sh setup_loopback.sh setup_veth.sh +TEST_PROGS_EXTENDED += toeplitz_client.sh TEST_GEN_FILES = socket nettest TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy reuseport_addr_any TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite
When generating the selftests to another folder, the toeplitz.sh and toeplitz_client.sh are missing as they are not in Makefile, e.g. make -C tools/testing/selftests/ install \ TARGETS="net" INSTALL_PATH=/tmp/kselftests Fixes: 5ebfb4cc3048 ("selftests/net: toeplitz test") Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> --- tools/testing/selftests/net/Makefile | 2 ++ 1 file changed, 2 insertions(+)