linux/tools/testing/selftests
Shuah Khan 67d8712dcc selftests: Fix build failures when invoked from kselftest target
Several tests that rely on implicit build rules fail to build,
when invoked from the main Makefile kselftest target. These
failures are due to --no-builtin-rules and --no-builtin-variables
options set in the inherited MAKEFLAGS.

--no-builtin-rules eliminates the use of built-in implicit rules
and --no-builtin-variables is for not defining built-in variables.
These two options override the use of implicit rules resulting in
build failures. In addition, inherited LDFLAGS result in build
failures and there is no need to define LDFLAGS.  Clear LDFLAGS
and MAKEFLAG when make is invoked from the main Makefile kselftest
target. Fixing this at selftests Makefile avoids changing the main
Makefile and keeps this change self contained at selftests level.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
2015-03-19 09:54:55 -06:00
..
breakpoints selftests/breakpoints: change test to use ksft framework 2014-11-17 10:39:08 -07:00
cpu-hotplug tools: selftests - create a separate hotplug target for full range test 2014-07-11 18:13:06 -07:00
efivarfs
exec selftests/exec: Check if the syscall exists and bail if not 2015-03-11 10:15:19 -06:00
firmware test: add firmware_class loader test 2014-07-17 18:44:19 -07:00
ftrace ftracetest: Add --verbose option for showing echo output 2014-12-04 10:40:34 -05:00
ipc selftests/ipc: change test to use ksft framework 2014-11-17 10:39:15 -07:00
kcmp selftests/kcmp: Always try to build the test 2014-12-02 13:53:24 -07:00
memfd selftests/memfd: Run test on all architectures 2014-09-17 08:00:16 -06:00
memory-hotplug tools: selftests - create a separate hotplug target for full range test 2014-07-11 18:13:06 -07:00
mount userns: Unbreak the unprivileged remount tests 2014-12-11 18:07:07 -06:00
mqueue tools: testing: selftests: mq_perf_tests: Fix infinite loop on ARM 2015-01-06 12:55:21 -07:00
net kselftest updates for 3.19-rc1 2014-12-16 13:15:12 -08:00
powerpc selftests/powerpc: Add memcmp testcase 2015-01-23 16:44:23 +11:00
ptrace tools/testing/selftests/ptrace/peeksiginfo.c: add PAGE_SIZE definition 2014-08-08 15:57:25 -07:00
rcutorture Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD 2015-01-15 23:34:34 -08:00
size selftest: size: Add size test for Linux kernel 2014-12-03 19:27:47 -07:00
sysctl tools/testing/selftests/sysctl: validate sysctl_writes_strict 2014-06-06 16:08:13 -07:00
timers selftests/timers: change test to use ksft framework 2014-11-17 10:39:30 -07:00
user selftests/user: move test out of Makefile into a shell script 2014-11-17 10:05:35 -07:00
vm selftests/vm: fix link error for transhuge-stress test 2015-01-08 09:01:00 -07:00
kselftest.h selftests: add kselftest framework for uniform test reporting 2014-11-17 10:38:56 -07:00
Makefile selftests: Fix build failures when invoked from kselftest target 2015-03-19 09:54:55 -06:00