aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/Makefile
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2019-10-30 12:45:36 -0700
committerShuah Khan <skhan@linuxfoundation.org>2019-11-07 14:46:08 -0700
commitc78fd76f2b673d1fb5306612c87df812c0a9ad0c (patch)
treec15f4a34d3100d09a308d2247bb57ee8c3c5fd33 /tools/testing/selftests/Makefile
parentselftests: gen_kselftest_tar.sh: Do not clobber kselftest/ (diff)
downloadwireguard-linux-c78fd76f2b673d1fb5306612c87df812c0a9ad0c.tar.xz
wireguard-linux-c78fd76f2b673d1fb5306612c87df812c0a9ad0c.zip
selftests: Move kselftest_module.sh into kselftest/
The kselftest_module.sh file was not being installed by the Makefile "install" target, rendering the lib/*.sh tests nonfunction. This fixes that and takes the opportunity to move it into the kselftest/ subdirectory which is where the kselftest infrastructure bits are collecting. Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> Link: https://lore.kernel.org/lkml/CA+G9fYsfJpXQvOvHdjtg8z4a89dSStOQZOKa9zMjjQgWKng1aw@mail.gmail.com Fixes: d3460527706e ("kselftest: Add test runner creation script") Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/Makefile')
-rw-r--r--tools/testing/selftests/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
index 3405aa26a655..68abfed9bc8b 100644
--- a/tools/testing/selftests/Makefile
+++ b/tools/testing/selftests/Makefile
@@ -191,6 +191,7 @@ install: all
ifdef INSTALL_PATH
@# Ask all targets to install their files
mkdir -p $(INSTALL_PATH)/kselftest
+ install -m 744 kselftest/module.sh $(INSTALL_PATH)/kselftest/
install -m 744 kselftest/runner.sh $(INSTALL_PATH)/kselftest/
install -m 744 kselftest/prefix.pl $(INSTALL_PATH)/kselftest/
@for TARGET in $(TARGETS); do \