Lines Matching refs:testing
5 The kernel contains a set of "self tests" under the tools/testing/selftests/
39 $ make -C tools/testing/selftests
43 $ make -C tools/testing/selftests run_tests
86 $ make -C tools/testing/selftests TARGETS=ptrace run_tests
105 $ make -C tools/testing/selftests SKIP_TARGETS=ptrace run_tests
116 See the top-level tools/testing/selftests/Makefile for the list of all
124 $ make -C tools/testing/selftests hotplug
128 $ make -C tools/testing/selftests run_hotplug
137 tool) to install selftests in the default location (`tools/testing/selftests/kselftest_install`),
142 $ make -C tools/testing/selftests install
146 $ make -C tools/testing/selftests install INSTALL_PATH=/some/other/path
177 $ make -C tools/testing/selftests gen_tar
184 $ make -C tools/testing/selftests gen_tar FORMAT=.xz
190 $ make -C tools/testing/selftests gen_tar TARGETS="bpf" FORMAT=.xz
247 e.g: tools/testing/selftests/android/config
261 make -C tools/testing/selftests {all,install,clean,gen_tar}
262 make -C tools/testing/selftests {all,install,clean,gen_tar} O=abs_path
263 make -C tools/testing/selftests {all,install,clean,gen_tar} O=rel_path
269 testing from within the kernel, one method of doing this is to create a
275 - ``tools/testing/selftests/kselftest_module.h``
276 - ``tools/testing/selftests/kselftest/module.sh``
279 happen automatically for modules which are in the ``tools/testing/``
295 e.g. ``tools/testing/selftests/lib/printf.sh``
297 3. Add line to config file e.g. ``tools/testing/selftests/lib/config``
299 4. Add test script to makefile e.g. ``tools/testing/selftests/lib/Makefile``
323 #include "../tools/testing/selftests/kselftest_module.h"
328 * Kernel module for testing the foobinator
360 test harness is for userspace testing, for kernel space testing see `Test
363 The tests from tools/testing/selftests/seccomp/seccomp_bpf.c can be used as
369 .. kernel-doc:: tools/testing/selftests/kselftest_harness.h
376 .. kernel-doc:: tools/testing/selftests/kselftest_harness.h
384 .. kernel-doc:: tools/testing/selftests/kselftest_harness.h
387 .. kernel-doc:: tools/testing/selftests/kselftest_harness.h