Home
last modified time | relevance | path

Searched refs:kselftest (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.15/Documentation/translations/zh_CN/dev-tools/
Dtesting-overview.rst19 大多数内核测试都是用kselftest或KUnit框架之一编写的。它们都让运行测试
23 kselftest
25 KUnit和kselftest的区别
50 kselftest(Documentation/dev-tools/kselftest.rst),相对来说,大量用
54 如生成进程之类)。然而,从kselftest直接调用内核函数是不行的。这也就
56 户空间的内核功能才能使用kselftest来测试。为此,有些测试包含了一个伴
60 kselftest也因此非常适合于全部功能的测试,因为这些功能会将接口暴露到
64 比如,一个新的系统调用应该伴随有新的kselftest测试。
105 这些工具倾向于对内核进行整体测试,并且不像kselftest和KUnit一样“传递”。
106 它们可以通过在启用这些工具时运行内核测试以与kselftest或KUnit结合起来:
[all …]
Dindex.rst39 - kselftest
/Linux-v5.15/tools/testing/selftests/
DMakefile117 BUILD := $(O)/kselftest
120 BUILD := $(KBUILD_OUTPUT)/kselftest
210 TEST_LIST := $(INSTALL_PATH)/kselftest-list.txt
215 mkdir -p $(INSTALL_PATH)/kselftest
216 install -m 744 kselftest/module.sh $(INSTALL_PATH)/kselftest/
217 install -m 744 kselftest/runner.sh $(INSTALL_PATH)/kselftest/
218 install -m 744 kselftest/prefix.pl $(INSTALL_PATH)/kselftest/
246 TAR_PATH = $(abspath ${INSTALL_PATH}/kselftest-packages/kselftest.tar${FORMAT})
248 @mkdir -p ${INSTALL_PATH}/kselftest-packages/
249 @tar caf ${TAR_PATH} --exclude=kselftest-packages -C ${INSTALL_PATH} .
Dgen_kselftest_tar.sh44 install_name=kselftest
51 (cd "$install_work"; tar $copts "$dest"/kselftest${ext} $install_name)
Drun_kselftest.sh8 TESTS="$BASE_DIR"/kselftest-list.txt
16 . ./kselftest/runner.sh
Dlib.mk69 . $(selfdir)/kselftest/runner.sh; \
144 LOCAL_HDRS := $(selfdir)/kselftest_harness.h $(selfdir)/kselftest.h
/Linux-v5.15/Documentation/dev-tools/
Dkselftest.rst13 https://kselftest.wiki.kernel.org/
22 kselftest runs as a userspace process. Tests that can be written/run in
39 $ make kselftest
51 $ make O=/tmp/kselftest kselftest
55 $ export KBUILD_OUTPUT=/tmp/kselftest; make kselftest
66 To run kselftest with summary option enabled ::
68 $ make summary=1 kselftest
82 $ make TARGETS="size timers" kselftest
86 $ make O=/tmp/kselftest TARGETS="size timers" kselftest
90 $ export KBUILD_OUTPUT=/tmp/kselftest; make TARGETS="size timers" kselftest
[all …]
Dtesting-overview.rst16 The bulk of kernel tests are written using either the kselftest or KUnit
22 parts of the kernel — then you'll want to use KUnit or kselftest.
25 The Difference Between KUnit and kselftest
47 kselftest (Documentation/dev-tools/kselftest.rst), on the other hand, is
53 However, it's not possible to call kernel functions directly from kselftest.
55 (e.g. by a syscall, device, filesystem, etc.) can be tested with kselftest. To
60 kselftest is therefore suited well to tests of whole features, as these will
64 For example, all new system calls should be accompanied by kselftest tests.
111 kselftest or KUnit tests. They can be combined with KUnit or kselftest by
115 Some of these tools integrate with KUnit or kselftest and will
Dindex.rst33 kselftest
/Linux-v5.15/tools/testing/selftests/arm64/
DREADME11 $ make TARGETS=arm64 kselftest-clean
12 $ make TARGETS=arm64 kselftest
25 Documentation/dev-tools/kselftest.rst
DMakefile26 khdr_dir = $(KBUILD_OUTPUT)/kselftest/usr/include
/Linux-v5.15/tools/testing/selftests/arm64/fp/
DREADME1 This directory contains a mix of tests integrated with kselftest and
4 kselftest tests
10 Running the non-kselftest tests
/Linux-v5.15/tools/testing/selftests/lib/
Dbitmap.sh3 $(dirname $0)/../kselftest/module.sh "bitmap" test_bitmap
Dscanf.sh4 $(dirname $0)/../kselftest/module.sh "scanf" test_scanf
Dstrscpy.sh3 $(dirname $0)/../kselftest/module.sh "strscpy*" test_strscpy
Dprintf.sh4 $(dirname $0)/../kselftest/module.sh "printf" test_printf
Dprime_numbers.sh4 $(dirname $0)/../kselftest/module.sh "prime numbers" prime_numbers selftest=65536
/Linux-v5.15/tools/testing/selftests/filesystems/binderfs/
DMakefile6 binderfs_test: binderfs_test.c ../../kselftest.h ../../kselftest_harness.h
/Linux-v5.15/tools/testing/selftests/uevent/
DMakefile11 uevent_filtering: uevent_filtering.c ../kselftest.h ../kselftest_harness.h
/Linux-v5.15/tools/testing/selftests/futex/functional/
DMakefile3 -I$(KBUILD_OUTPUT)/kselftest/usr/include
/Linux-v5.15/tools/testing/selftests/kselftest/
Drunner.sh28 "$BASE_DIR"/kselftest/prefix.pl
/Linux-v5.15/Documentation/dev-tools/kunit/
Dfaq.rst7 How is this different from Autotest, kselftest, etc?
9 KUnit is a unit testing framework. Autotest, kselftest (and some others) are
22 for Autotest, kselftest, and some others, disqualifying any of them from being
/Linux-v5.15/
DMakefile1376 PHONY += kselftest
1377 kselftest: target
1380 kselftest-%: FORCE
1383 PHONY += kselftest-merge
1384 kselftest-merge:
DMAINTAINERS10200 L: linux-kselftest@vger.kernel.org
10202 Q: https://patchwork.kernel.org/project/linux-kselftest/list/
10203 T: git git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git
10204 F: Documentation/dev-tools/kselftest*
10220 L: linux-kselftest@vger.kernel.org
10842 L: linux-kselftest@vger.kernel.org
/Linux-v5.15/Documentation/bpf/
Dbpf_devel_QA.rst437 See the kernels selftest `Documentation/dev-tools/kselftest.rst`_
664 .. _Documentation/dev-tools/kselftest.rst:
665 https://www.kernel.org/doc/html/latest/dev-tools/kselftest.html