aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/alignment/Makefile
diff options
context:
space:
mode:
authorChris Smart <chris@distroguy.com>2016-06-17 09:34:47 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-07-05 23:49:51 +1000
commit4375088072295b09cc5d9bf7a8cd2333b608492a (patch)
treeee4d78c9d440e0505c347212d5eb945302558d1b /tools/testing/selftests/powerpc/alignment/Makefile
parentpowerpc: Send SIGBUS on unaligned copy and paste (diff)
downloadlinux-dev-4375088072295b09cc5d9bf7a8cd2333b608492a.tar.xz
linux-dev-4375088072295b09cc5d9bf7a8cd2333b608492a.zip
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)