mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-02 18:59:54 -05:00
Add glue code for accessing the YNL library which lives under tools/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 and drivers/net test targets make the library a target as well, and automatically include it when net or drivers/net are included. Making net/lib a target ensures that we end up with only one copy of it, and saves us some path guessing. Add a tiny bit of formatting support to be able to output KTAP from 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>
9 lines
187 B
Makefile
9 lines
187 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
TEST_FILES := ../../../../../Documentation/netlink/specs
|
|
TEST_FILES += ../../../../net/ynl
|
|
|
|
TEST_INCLUDES := $(wildcard py/*.py)
|
|
|
|
include ../../lib.mk
|