2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/tools/testing/selftests/mqueue
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
..
.gitignore tools/selftests: add mq_perf_tests 2012-05-31 17:49:31 -07:00
Makefile selftests: Add install target 2015-03-13 15:21:56 -06:00
mq_open_tests.c tools: fix mq_open_tests compile warnings 2014-07-11 18:11:18 -07:00
mq_perf_tests.c tools: testing: selftests: mq_perf_tests: Fix infinite loop on ARM 2015-01-06 12:55:21 -07:00