]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools: ynl: don't install tests in /usr/bin/
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2026 16:35:02 +0000 (08:35 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Mar 2026 00:41:55 +0000 (16:41 -0800)
commit3e90e00da96b6eddc91b5fffb19089d35af48695
tree8fe9d9f60bbe155110acceebef210299e15cefbd
parentd86670b837fbe1994e8b1ce9d1f56f1272038ad1
tools: ynl: don't install tests in /usr/bin/

Until commit 790792ebc960 ("tools: ynl: don't install tests")
YNL selftests were installed with all the other YNL outputs.
That's no longer the case, as tests are not really production
artifacts. Let's not install them in /usr/bin at all, and
mirror kselftest format more closely:

For: make -C tools/net/ynl/tests/ install DESTDIR=tmp

tmp/usr/share/kselftest
              ├── ktap_helpers.sh
              └── ynl
                  ├── test_ynl_cli.sh
                  └── test_ynl_ethtool.sh

Acked-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20260303163504.2084981-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/tests/Makefile