summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/Makefile
diff options
context:
space:
mode:
authorLaura Nao <laura.nao@collabora.com>2024-01-02 15:15:28 +0100
committerShuah Khan <skhan@linuxfoundation.org>2024-02-20 15:52:55 -0700
commit7c079e909b21f8f6e5d8e501c037752ff302a15e (patch)
tree37b78be242afcbe3bd3860f5c50d6cb22a19d92e /tools/testing/selftests/Makefile
parent8cbf22b3dcf0c89d1df1a8e106295b349607eb5b (diff)
downloadlinux-7c079e909b21f8f6e5d8e501c037752ff302a15e.tar.gz
linux-7c079e909b21f8f6e5d8e501c037752ff302a15e.tar.bz2
linux-7c079e909b21f8f6e5d8e501c037752ff302a15e.zip
selftests: Move KTAP bash helpers to selftests common folder
Move bash helpers for outputting in KTAP format to the common selftests folder. This allows kselftests other than the dt one to source the file and make use of the helper functions. Define pass, fail and skip codes in the same file too. Signed-off-by: Laura Nao <laura.nao@collabora.com> Reviewed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Tested-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Acked-by: Rob Herring <robh@kernel.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 15b6a111c3be..c5b4574045b3 100644
--- a/tools/testing/selftests/Makefile
+++ b/tools/testing/selftests/Makefile
@@ -236,6 +236,7 @@ ifdef INSTALL_PATH
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/
+ install -m 744 kselftest/ktap_helpers.sh $(INSTALL_PATH)/kselftest/
install -m 744 run_kselftest.sh $(INSTALL_PATH)/
rm -f $(TEST_LIST)
@ret=1; \