aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/openvswitch/vport-netdev.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-04-19 19:52:35 -0700
committerJakub Kicinski <kuba@kernel.org>2024-04-23 10:13:56 -0700
commit01b431641c33d488ecc6cd6d9e01f7f073bfa54f (patch)
tree7d0449e458e4c69b484d8dba9f689c639cb0b85e /net/openvswitch/vport-netdev.c
parentselftests: drv-net: add a trivial ping test (diff)
downloadwireguard-linux-01b431641c33d488ecc6cd6d9e01f7f073bfa54f.tar.xz
wireguard-linux-01b431641c33d488ecc6cd6d9e01f7f073bfa54f.zip
selftests: net: support matching cases by name prefix
While writing tests with a lot more cases I got tired of having to jump back and forth to add the name of the test to the ksft_run() list. Most unittest frameworks do some name matching, e.g. assume that functions with names starting with test_ are test cases. Support similar flow in ksft_run(). Let the author list the desired prefixes. globals() need to be passed explicitly, IDK how to work around that. Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/20240420025237.3309296-6-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/openvswitch/vport-netdev.c')
0 files changed, 0 insertions, 0 deletions