aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/tm/Makefile
diff options
context:
space:
mode:
authorSam bobroff <sam.bobroff@au1.ibm.com>2015-04-10 14:16:49 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2015-04-11 20:49:20 +1000
commit7fe924d9d71c96598ed37719c53187b357d6edff (patch)
tree36246d88a718a42f0a0a58d6c92b17d55d616c38 /tools/testing/selftests/powerpc/tm/Makefile
parentselftests/powerpc: Move get_auxv_entry() to harness.c (diff)
downloadlinux-dev-7fe924d9d71c96598ed37719c53187b357d6edff.tar.xz
linux-dev-7fe924d9d71c96598ed37719c53187b357d6edff.zip
selftests/powerpc: Add transactional syscall test
Check that a syscall made during an active transaction will fail with the correct failure code and that one made during a suspended transaction will succeed. Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/tm/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/tm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/tm/Makefile b/tools/testing/selftests/powerpc/tm/Makefile
index 2cede239a074..122cf1830de8 100644
--- a/tools/testing/selftests/powerpc/tm/Makefile
+++ b/tools/testing/selftests/powerpc/tm/Makefile
@@ -1,9 +1,12 @@
-PROGS := tm-resched-dscr
+PROGS := tm-resched-dscr tm-syscall
all: $(PROGS)
$(PROGS): ../harness.c
+tm-syscall: tm-syscall-asm.S
+tm-syscall: CFLAGS += -mhtm
+
run_tests: all
@-for PROG in $(PROGS); do \
./$$PROG; \