aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/primitives/Makefile
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2014-09-25 16:45:11 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-30 14:59:12 +1000
commitfe2a1bb1dbff1bc7b8c24eb1f691a544488617fa (patch)
treea224f729189b0cb116be365eb13235de8679be57 /tools/testing/selftests/powerpc/primitives/Makefile
parentpowerpc: Implement load_unaligned_zeropad (diff)
downloadlinux-dev-fe2a1bb1dbff1bc7b8c24eb1f691a544488617fa.tar.xz
linux-dev-fe2a1bb1dbff1bc7b8c24eb1f691a544488617fa.zip
selftests/powerpc: Add test of load_unaligned_zero_pad()
It is a rarely exercised case, so we want to have a test to ensure it works as required. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/primitives/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/primitives/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/primitives/Makefile b/tools/testing/selftests/powerpc/primitives/Makefile
new file mode 100644
index 000000000000..ea737ca01732
--- /dev/null
+++ b/tools/testing/selftests/powerpc/primitives/Makefile
@@ -0,0 +1,17 @@
+CFLAGS += -I$(CURDIR)
+
+PROGS := load_unaligned_zeropad
+
+all: $(PROGS)
+
+$(PROGS): ../harness.c
+
+run_tests: all
+ @-for PROG in $(PROGS); do \
+ ./$$PROG; \
+ done;
+
+clean:
+ rm -f $(PROGS) *.o
+
+.PHONY: all run_tests clean