2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/tools/testing/selftests/vm
Andrea Arcangeli 46aa6a302b userfaultfd: selftest: vm: allow to build in vm/ directory
linux/tools/testing/selftests/vm $ make

  gcc -Wall -I ../../../../usr/include     compaction_test.c -lrt -o /compaction_test
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot open output file /compaction_test: Permission denied
  collect2: error: ld returned 1 exit status
  make: *** [../lib.mk:54: /compaction_test] Error 1

Since commit a8ba798bc8 ("selftests: enable O and KBUILD_OUTPUT")
selftests/vm build fails if run from the "selftests/vm" directory, but
it works in the selftests/ directory.  It's quicker to be able to do a
local vm-only build after a tree wipe and this patch allows for it
again.

Link: http://lkml.kernel.org/r/20170302173738.18994-4-aarcange@redhat.com
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Hillf Danton <hillf.zj@alibaba-inc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-03-09 17:01:10 -08:00
..
.gitignore selftests/vm: add test for mlock() when areas are intersected 2016-10-07 18:46:28 -07:00
compaction_test.c selftests/vm: write strlen length instead of sizeof to nr_hugepages 2016-06-27 13:18:26 -06:00
config selftests: create test-specific kconfig fragments 2016-02-25 09:47:52 -07:00
hugepage-mmap.c mm: move hugepage test examples to tools/testing/selftests/vm 2012-03-28 17:14:37 -07:00
hugepage-shm.c mm: move hugepage test examples to tools/testing/selftests/vm 2012-03-28 17:14:37 -07:00
Makefile userfaultfd: selftest: vm: allow to build in vm/ directory 2017-03-09 17:01:10 -08:00
map_hugetlb.c mm, selftests: test return value of munmap for MAP_HUGETLB memory 2015-04-15 16:35:19 -07:00
mlock2-tests.c selftest: move seek_to_smaps_entry() out of mlock2-tests.c 2016-10-07 18:46:28 -07:00
mlock2.h selftest: move seek_to_smaps_entry() out of mlock2-tests.c 2016-10-07 18:46:28 -07:00
mlock-random-test.c selftests: expanding more mlock selftest 2016-10-07 18:46:28 -07:00
on-fault-limit.c selftests/vm: Don't mlockall MCL_CURRENT in on-fault-limit test 2016-06-27 13:19:24 -06:00
run_vmtests userfaultfd: shmem: add userfaultfd_shmem test 2017-02-22 16:41:29 -08:00
thuge-gen.c selftests/thuge-gen: Use platform specific MAP_HUGETLB value 2016-05-22 21:43:41 +02:00
transhuge-stress.c selftests/vm/transhuge-stress: stress test for memory compaction 2014-10-09 22:26:01 -04:00
userfaultfd.c userfaultfd: non-cooperative: selftest: enable REMOVE event test for shmem 2017-02-24 17:46:54 -08:00