summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/cache_shape/Makefile
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-02-06 13:13:28 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-03-20 11:02:49 +0300
commitb8b6ff019689ec7e61f0d3fa97929214507f7427 (patch)
tree5f9876317f4b26e88f44bf47960de2b9c6af3673 /tools/testing/selftests/powerpc/cache_shape/Makefile
parente3028437cb45c04a9caae4d6372bfe08e70293cd (diff)
downloadlinux-b8b6ff019689ec7e61f0d3fa97929214507f7427.tar.xz
selftests/powerpc: Add cache_shape sniff test
This is a very basic test of the new cache shape AUXV entries. All it does at the moment is look for the entries and error out if we don't find all the ones we expect. Primarily intended for folks bringing up a new chip to check that the cache info is making it all the way to userspace correctly. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/cache_shape/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/cache_shape/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/cache_shape/Makefile b/tools/testing/selftests/powerpc/cache_shape/Makefile
new file mode 100644
index 000000000000..b24485ab30e2
--- /dev/null
+++ b/tools/testing/selftests/powerpc/cache_shape/Makefile
@@ -0,0 +1,10 @@
+TEST_PROGS := cache_shape
+
+all: $(TEST_PROGS)
+
+$(TEST_PROGS): ../harness.c ../utils.c
+
+include ../../lib.mk
+
+clean:
+ rm -f $(TEST_PROGS) *.o