linux/tools/testing/selftests
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
..
bpf linux-kselftest-4.11-rc1 2017-02-25 15:32:53 -08:00
breakpoints
capabilities
cpu-hotplug
cpufreq
drivers/gpu
efivarfs
exec
filesystems
firmware driver core patches for 4.11-rc1 2017-02-22 11:44:32 -08:00
ftrace
futex
gpio
ia64
intel_pstate
ipc
kcmp
lib
locking
media_tests
membarrier
memfd
memory-hotplug
mount
mqueue
net linux-kselftest-4.11-rc1 2017-02-25 15:32:53 -08:00
networking/timestamping
nsfs
ntb
powerpc selftest/powerpc: Fix false failures for skipped tests 2017-03-03 11:24:50 +11:00
prctl
pstore
ptp
ptrace
rcutorture Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-02-20 13:23:30 -08:00
seccomp
sigaltstack tools/testing/selftests/sigaltstack/sas.c: improve output of sigaltstack testcase 2017-02-27 18:43:45 -08:00
size
splice selftest for default_file_splice_read() infoleak 2017-02-18 22:07:24 -05:00
static_keys
sync
sysctl
timers
user
vDSO
vm userfaultfd: selftest: vm: allow to build in vm/ directory 2017-03-09 17:01:10 -08:00
watchdog
x86 Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-03-07 14:47:24 -08:00
zram
.gitignore
Makefile Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2017-03-03 21:44:35 -08:00
gen_kselftest_tar.sh
kselftest.h
kselftest_install.sh
lib.mk selftests: lib.mk Fix individual test builds 2017-03-02 07:53:01 -07:00