summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/alignment/Makefile
diff options
context:
space:
mode:
authorChris Smart <chris@distroguy.com>2016-06-17 02:34:47 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-07-05 16:49:51 +0300
commit4375088072295b09cc5d9bf7a8cd2333b608492a (patch)
treeee4d78c9d440e0505c347212d5eb945302558d1b /tools/testing/selftests/powerpc/alignment/Makefile
parentae26b36f8098c793a754549662771099215904ed (diff)
downloadlinux-4375088072295b09cc5d9bf7a8cd2333b608492a.tar.xz
selftests/powerpc: Test unaligned copy and paste
Test that an ISA 3.0 compliant machine performing an unaligned copy, copy_first, paste or paste_last is sent a SIGBUS. Signed-off-by: Chris Smart <chris@distroguy.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/alignment/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/alignment/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/alignment/Makefile b/tools/testing/selftests/powerpc/alignment/Makefile
new file mode 100644
index 000000000000..ad6a4e49da91
--- /dev/null
+++ b/tools/testing/selftests/powerpc/alignment/Makefile
@@ -0,0 +1,10 @@
+TEST_PROGS := copy_unaligned copy_first_unaligned paste_unaligned paste_last_unaligned
+
+all: $(TEST_PROGS)
+
+$(TEST_PROGS): ../harness.c ../utils.c copy_paste_unaligned_common.c
+
+include ../../lib.mk
+
+clean:
+ rm -f $(TEST_PROGS)