History log of /external/linux-kselftest/tools/testing/selftests/powerpc/mm/Makefile
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a8ba798bc8ec663cf02e80b0dd770324de9bafd9 29-Nov-2016 bamvor.zhangjian@huawei.com <bamvor.zhangjian@huawei.com> selftests: enable O and KBUILD_OUTPUT

Enable O and KBUILD_OUTPUT for kselftest. User could compile kselftest
to another directory by passing O or KBUILD_OUTPUT. And O is high
priority than KBUILD_OUTPUT.

Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/Makefile
88baa78d1f318e57c7cccbfe55d485befd1ce696 29-Nov-2016 bamvor.zhangjian@huawei.com <bamvor.zhangjian@huawei.com> selftests: remove duplicated all and clean target

Currently, kselftest use TEST_PROGS, TEST_PROGS_EXTENDED, TEST_FILES to
indicate the test program, extended test program and test files. It is
easy to understand the purpose of these files. But mix of compiled and
uncompiled files lead to duplicated "all" and "clean" targets.

In order to remove the duplicated targets, introduce TEST_GEN_PROGS,
TEST_GEN_PROGS_EXTENDED, TEST_GEN_FILES to indicate the compiled
objects.

Also, the later patch will make use of TEST_GEN_XXX to redirect these
files to output directory indicated by KBUILD_OUTPUT or O.

And add this changes to "Contributing new tests(details)" of
Documentation/kselftest.txt.

Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/Makefile
24af8c5a52a70bbfd275f59836feadd9b9ebc83b 11-Jul-2016 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test for PROT_SAO

PROT_SAO is a powerpc-specific flag to mmap(), and we rely on arch
specific logic to allow it to be passed to mmap().

Add a small test to ensure mmap() accepts PROT_SAO. We don't have a good
way to test that it actually causes the mapping to be created with the
right flags, so for now we just touch the mapping so it's faulted in. In
future we might be able to do something better.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/Makefile
281786ea2cd03635648d1e2b131c6fbc0ed47b68 17-Aug-2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Install tempfile so the subpage_prot_file test works

We forgot to install the tempfile, so when the selftests are installed
and then run the subpage_prot_file test fails.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/Makefile
6faeeea44b84ce24fc6c1f1beb07ee5de9885dc8 11-Mar-2015 Michael Ellerman <mpe@ellerman.id.au> selftests: Add install support for the powerpc tests

The bulk of the selftests are actually below the powerpc sub directory.

This adds support for installing them, when on a powerpc machine, or if
ARCH and CROSS_COMPILE are set appropriately.

This is a little more complicated because of the sub directory structure
under powerpc, but much of the common logic in lib.mk is still used. The
net effect of the patch is still a reduction in code.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/Makefile
3776c2096790233b06c8b4e82046daa77c63fced 09-Dec-2014 Paul Mackerras <paulus@samba.org> selftests/powerpc: Add subpage protection self test.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>

mpe: Fix compile errors and formatting. Add tempfile logic to Makefile.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/Makefile
d34b661b10ab49c9058cd6602fd0162ba6db40a3 28-May-2014 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Test the THP bug we fixed in the previous commit

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/Makefile