summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/amd-pstate/Makefile
diff options
context:
space:
mode:
authorMeng Li <li.meng@amd.com>2022-08-17 06:46:29 +0300
committerShuah Khan <skhan@linuxfoundation.org>2022-10-05 20:05:17 +0300
commite1083a03c553f12186556776e67eae44665318de (patch)
tree799ef43c74e45efb45c2ac160d1e0feff5b17d60 /tools/testing/selftests/amd-pstate/Makefile
parent14eb1c96e3a3fd9cd377ac9af3c7a410f8bf1015 (diff)
downloadlinux-e1083a03c553f12186556776e67eae44665318de.tar.xz
selftests: amd-pstate: Add test trigger for amd-pstate driver
Add amd-pstate test trigger in kselftest, it will load/unload amd-pstate-ut module to test some cases etc. Signed-off-by: Meng Li <li.meng@amd.com> Acked-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/amd-pstate/Makefile')
-rw-r--r--tools/testing/selftests/amd-pstate/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/testing/selftests/amd-pstate/Makefile b/tools/testing/selftests/amd-pstate/Makefile
new file mode 100644
index 000000000000..199867f44b32
--- /dev/null
+++ b/tools/testing/selftests/amd-pstate/Makefile
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-only
+# Makefile for amd-pstate/ function selftests
+
+# No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
+all:
+
+TEST_PROGS := amd-pstate-ut.sh
+
+include ../lib.mk