linux/tools/testing/selftests
Michael Ellerman 32dcfba6f8 selftests: Add install target
This adds make install support to selftests. The basic usage is:

$ cd tools/testing/selftests
$ make install

That installs into tools/testing/selftests/install, which can then be
copied where ever necessary.

The install destination is also configurable using eg:

$ INSTALL_PATH=/mnt/selftests make install

The implementation uses two targets in the child makefiles. The first
"install" is expected to install all files into $(INSTALL_PATH).

The second, "emit_tests", is expected to emit the test instructions (ie.
bash script) on stdout. Separating this from install means the child
makefiles need no knowledge of the location of the test script.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2015-03-13 15:21:56 -06:00
..
breakpoints selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
cpu-hotplug selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
efivarfs selftests: Add install target 2015-03-13 15:21:56 -06:00
exec selftests: Add install target 2015-03-13 15:21:56 -06:00
firmware selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
ftrace selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
ipc selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
kcmp selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
memfd selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
memory-hotplug selftests: Add install target 2015-03-13 15:21:56 -06:00
mount selftests: Add install target 2015-03-13 15:21:56 -06:00
mqueue selftests: Add install target 2015-03-13 15:21:56 -06:00
net selftests: Add install target 2015-03-13 15:21:56 -06:00
powerpc selftests/powerpc: Add memcmp testcase 2015-01-23 16:44:23 +11:00
ptrace selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06: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 selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
sysctl selftests: Add install target 2015-03-13 15:21:56 -06:00
timers selftests/timers: Add set-2038 test from timetest suite 2015-03-12 13:22:16 -06:00
user selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
vm selftests: Add install target 2015-03-13 15:21:56 -06:00
kselftest.h selftests: add kselftest framework for uniform test reporting 2014-11-17 10:38:56 -07:00
lib.mk selftests: Add install target 2015-03-13 15:21:56 -06:00
Makefile selftests: Add install target 2015-03-13 15:21:56 -06:00