selftests: net: add scaffolding for Netlink tests in PythonAdd glue code for accessing the YNL library which lives undertools/net and YAML spec files from under Documentation/.Automatically figur
selftests: net: add scaffolding for Netlink tests in PythonAdd glue code for accessing the YNL library which lives undertools/net and YAML spec files from under Documentation/.Automatically figure out if tests are run in tree or not.Since we'll want to use this library both from net anddrivers/net test targets make the library a target as well,and automatically include it when net or drivers/net areincluded. Making net/lib a target ensures that we end upwith only one copy of it, and saves us some path guessing.Add a tiny bit of formatting support to be able to output KTAPfrom the start.Reviewed-by: Petr Machata <petrm@nvidia.com>Signed-off-by: Jakub Kicinski <kuba@kernel.org>Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
123