diff options
author | Sam bobroff <sam.bobroff@au1.ibm.com> | 2015-04-10 14:16:49 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-04-11 20:49:20 +1000 |
commit | 7fe924d9d71c96598ed37719c53187b357d6edff (patch) | |
tree | 36246d88a718a42f0a0a58d6c92b17d55d616c38 /tools/testing/selftests/powerpc/tm/Makefile | |
parent | 2b03fc1db59d53da327cf21f77e189b4d0a8aced (diff) |
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/Makefile | 5 |
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; \ |