Messages in this thread | | | Date | Wed, 26 Nov 2014 10:40:27 +0530 | From | Anshuman Khandual <> | Subject | Re: [V5 7/7] selftests, powerpc: Add test case for TM related ptrace interface |
| |
On 11/25/2014 10:36 PM, Shuah Khan wrote: > On 11/25/2014 01:05 AM, Anshuman Khandual wrote: >> > This patch adds one more test case called 'tm-ptrace' targeting TM >> > related ptrace interface. This test creates one child process to >> > run some basic TM transactions and the parent process attaches the >> > child to do some ptrace probing using the recently added regset >> > interfaces. The parent process then compares the received values >> > against the expected values to verify whether it has passed the >> > given test or not. >> > >> > Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> >> > --- >> > tools/testing/selftests/powerpc/tm/Makefile | 2 +- >> > tools/testing/selftests/powerpc/tm/tm-ptrace.c | 542 +++++++++++++++++++++++++ >> > 2 files changed, 543 insertions(+), 1 deletion(-) >> > create mode 100644 tools/testing/selftests/powerpc/tm/tm-ptrace.c >> > >> > diff --git a/tools/testing/selftests/powerpc/tm/Makefile b/tools/testing/selftests/powerpc/tm/Makefile >> > index 2cede23..71d400a 100644 >> > --- a/tools/testing/selftests/powerpc/tm/Makefile >> > +++ b/tools/testing/selftests/powerpc/tm/Makefile >> > @@ -1,4 +1,4 @@ >> > -PROGS := tm-resched-dscr >> > +PROGS := tm-resched-dscr tm-ptrace >> > > Could you please add .gitignore for the binaries in this directory > to avoid git status including the binaries it in its output.
Sure, will add one.
| |