aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/amd-pstate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/amd-pstate/Makefile')
-rw-r--r--tools/testing/selftests/amd-pstate/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/testing/selftests/amd-pstate/Makefile b/tools/testing/selftests/amd-pstate/Makefile
new file mode 100644
index 000000000..5fd1424db
--- /dev/null
+++ b/tools/testing/selftests/amd-pstate/Makefile
@@ -0,0 +1,13 @@
+# 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:
+
+uname_M := $(shell uname -m 2>/dev/null || echo not)
+ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
+
+TEST_PROGS := run.sh
+TEST_FILES := basic.sh tbench.sh gitsource.sh
+
+include ../lib.mk