OpenCloudOS-Kernel/tools/testing/selftests
Mathieu Desnoyers 7a07b503bf membarrier: clean up selftest
We don't need to specify an explicit rule in the Makefile, the implicit
one will do the same.  The "__EXPORTED_HEADERS__" define is not needed,
because we build the test against the installed kernel headers, not the
in-tree kernel headers.  Re-use "$(TEST_PROGS)" in the clean target
rather than spelling the executable name twice.  Include <unistd.h>
rather than the rather specific <asm-generic/unistd.h>.  Include
<syscall.h> rather than <sys/syscall.h>.  In both cases, the former
header is located in a standard location and includes the latter.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: Pranith Kumar <bobby.prani@gmail.com>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-09-22 15:09:53 -07:00
..
breakpoints selftests: breakpoints: fix installing error on the architecture except x86 2015-08-27 16:05:28 -06:00
capabilities selftests/capabilities: Add tests for capability evolution 2015-09-04 16:54:41 -07:00
cpu-hotplug selftests: change cpu on-off-test.sh name to be unique 2015-04-01 10:32:52 -06:00
efivarfs selftests: Set CC using CROSS_COMPILE once in lib.mk 2015-03-19 15:16:51 -06:00
exec selftests: exec: revert to default emit rule 2015-09-14 16:45:05 -06:00
firmware selftests: firmware: skip timeout checks for kernels without user mode helper 2015-08-05 17:07:19 -07:00
ftrace selftests: change install command to rsync 2015-09-14 16:43:51 -06:00
futex selftests/futex: Fix futex_cmp_requeue_pi() error handling 2015-07-20 18:29:38 -06:00
ipc selftest/ipc: enable cross compilation 2015-04-02 12:41:52 -06:00
kcmp selftests: Set CC using CROSS_COMPILE once in lib.mk 2015-03-19 15:16:51 -06:00
membarrier membarrier: clean up selftest 2015-09-22 15:09:53 -07:00
memfd selftest/memfd: include default header install path 2015-04-02 12:41:03 -06:00
memory-hotplug selftests: Change memory on-off-test.sh name to be unique 2015-04-01 10:33:02 -06:00
mount selftests/mount: output WARN messages when mount test skipped 2015-05-26 15:58:06 -06:00
mqueue selftests: mqueue: simplify the Makefile 2015-09-14 16:43:24 -06:00
net selftests/net: test extended BPF fanout mode 2015-08-17 14:22:48 -07:00
powerpc selftests/powerpc: Install tempfile so the subpage_prot_file test works 2015-08-17 18:28:49 +10:00
ptrace selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
rcutorture Merge branches 'doc.2015.07.15a' and 'torture.2015.07.15a' into HEAD 2015-08-04 08:42:02 -07:00
seccomp selftests/seccomp: add support for s390 2015-09-14 16:41:37 -06:00
size selftests: Set CC using CROSS_COMPILE once in lib.mk 2015-03-19 15:16:51 -06:00
static_keys locking/static_keys: Provide a selftest 2015-08-03 11:51:12 +02:00
sysctl selftests: Add install target 2015-03-13 15:21:56 -06:00
timers linux-kselftest-4.2-rc1 2015-06-29 09:11:10 -07:00
user selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
vm userfaultfd: selftest: don't error out if pthread_mutex_t isn't identical 2015-09-22 15:09:53 -07:00
x86 x86/vm86: Block non-root vm86(old) if mmap_min_addr != 0 2015-09-05 09:01:16 +02:00
zram seltests/zram: fix syntax error 2015-09-14 16:40:57 -06:00
Makefile selftests: rename jump label to static_keys 2015-09-14 16:42:23 -06:00
gen_kselftest_tar.sh selftests: Add tool to generate kselftest tar archive 2015-03-24 08:43:19 -06:00
kselftest.h kselftest: Add exit code defines 2015-05-26 15:58:08 -06:00
kselftest_install.sh selftests: Add kselftest install tool 2015-03-24 08:43:05 -06:00
lib.mk selftests: change install command to rsync 2015-09-14 16:43:51 -06:00