summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/lib.mk
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <mpdesouza@suse.com>2024-02-21 20:17:04 +0300
committerShuah Khan <skhan@linuxfoundation.org>2024-02-28 03:03:35 +0300
commit54ee3526796f56c249124686a33e1cc05f76ea21 (patch)
treee951f15cd4f1cdd167eb470200d79a54f5f7e88d /tools/testing/selftests/lib.mk
parent8ab37b0d98cfe7463cb75a62156ebad9a47d3417 (diff)
downloadlinux-54ee3526796f56c249124686a33e1cc05f76ea21.tar.xz
selftests: livepatch: Avoid running the tests if kernel-devel is missing
By checking if KDIR is a valid directory we can safely skip the tests if kernel-devel isn't installed (default value of KDIR), or if KDIR variable passed doesn't exists. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202402191417.XULH88Ct-lkp@intel.com/ Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/lib.mk')
0 files changed, 0 insertions, 0 deletions