]> git.ozlabs.org Git - patchwork/blob - patchwork/tests/mail/0011-no-newline-at-end-of-file.mbox
Move to a more recent django project structure
[patchwork] / patchwork / tests / mail / 0011-no-newline-at-end-of-file.mbox
1 Subject: [PATCH v3 5/5] selftests, powerpc: Add test for VPHN
2 From: Greg Kurz <gkurz@linux.vnet.ibm.com>
3 To: Michael Ellerman <mpe@ellerman.id.au>
4 Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
5  linuxppc-dev@lists.ozlabs.org
6 Date: Mon, 23 Feb 2015 16:14:44 +0100
7 MIME-Version: 1.0
8 Content-Type: text/plain; charset="utf-8"
9 Content-Transfer-Encoding: 8bit
10
11 The goal is to verify vphn_unpack_associativity() parses VPHN numbers
12 correctly. We feed it with a variety of input values and compare with
13 expected results.
14
15 diff --git a/tools/testing/selftests/powerpc/Makefile b/tools/testing/selftests/powerpc/Makefile
16 index 1d5e7ad..476b8dd 100644
17 --- a/tools/testing/selftests/powerpc/Makefile
18 +++ b/tools/testing/selftests/powerpc/Makefile
19 @@ -13,7 +13,7 @@ CFLAGS := -Wall -O2 -flto -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(CUR
20  
21  export CC CFLAGS
22  
23 -TARGETS = pmu copyloops mm tm primitives stringloops
24 +TARGETS = pmu copyloops mm tm primitives stringloops vphn
25  
26  endif
27  
28 diff --git a/tools/testing/selftests/powerpc/vphn/vphn.c b/tools/testing/selftests/powerpc/vphn/vphn.c
29 new file mode 120000
30 index 0000000..186b906
31 --- /dev/null
32 +++ b/tools/testing/selftests/powerpc/vphn/vphn.c
33 @@ -0,0 +1 @@
34 +../../../../../arch/powerpc/mm/vphn.c
35 \ No newline at end of file
36 diff --git a/tools/testing/selftests/powerpc/vphn/vphn.h b/tools/testing/selftests/powerpc/vphn/vphn.h
37 new file mode 120000
38 index 0000000..7131efe
39 --- /dev/null
40 +++ b/tools/testing/selftests/powerpc/vphn/vphn.h
41 @@ -0,0 +1 @@
42 +../../../../../arch/powerpc/mm/vphn.h
43 \ No newline at end of file
44
45