Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/Documentation/translations/zh_CN/dev-tools/
A 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 …]
A Dindex.rst39 - kselftest
/linux-6.3-rc2/tools/testing/selftests/
A DMakefile143 BUILD := $(abs_objtree)/kselftest
213 TEST_LIST := $(INSTALL_PATH)/kselftest-list.txt
218 mkdir -p $(INSTALL_PATH)/kselftest
219 install -m 744 kselftest/module.sh $(INSTALL_PATH)/kselftest/
220 install -m 744 kselftest/runner.sh $(INSTALL_PATH)/kselftest/
221 install -m 744 kselftest/prefix.pl $(INSTALL_PATH)/kselftest/
250 TAR_PATH = $(abspath ${INSTALL_PATH}/kselftest-packages/kselftest.tar${FORMAT})
252 @mkdir -p ${INSTALL_PATH}/kselftest-packages/
253 @tar caf ${TAR_PATH} --exclude=kselftest-packages -C ${INSTALL_PATH} .
A Dgen_kselftest_tar.sh44 install_name=kselftest
51 (cd "$install_work"; tar $copts "$dest"/kselftest${ext} $install_name)
A Drun_kselftest.sh8 TESTS="$BASE_DIR"/kselftest-list.txt
16 . ./kselftest/runner.sh
A Dlib.mk63 . $(selfdir)/kselftest/runner.sh; \
143 LOCAL_HDRS += $(selfdir)/kselftest_harness.h $(selfdir)/kselftest.h
/linux-6.3-rc2/Documentation/dev-tools/
A Dkselftest.rst21 https://kselftest.wiki.kernel.org/
47 $ make kselftest
59 $ make O=/tmp/kselftest kselftest
63 $ export KBUILD_OUTPUT=/tmp/kselftest; make kselftest
76 $ make summary=1 kselftest
90 $ make TARGETS="size timers" kselftest
94 $ make O=/tmp/kselftest TARGETS="size timers" kselftest
98 $ export KBUILD_OUTPUT=/tmp/kselftest; make TARGETS="size timers" kselftest
258 kselftest-{all,install,clean,gen_tar}
307 make kselftest-merge
[all …]
A 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
A Dindex.rst34 kselftest
A Dktap.rst103 to "TODO", above, and is used by some kselftest tests.
308 - The kselftest documentation:
309 Documentation/dev-tools/kselftest.rst
/linux-6.3-rc2/tools/testing/selftests/arm64/
A DREADME11 $ make TARGETS=arm64 kselftest-clean
12 $ make TARGETS=arm64 kselftest
25 Documentation/dev-tools/kselftest.rst
/linux-6.3-rc2/tools/testing/selftests/resctrl/
A DREADME15 resctrl_tests can be run with or without kselftest framework.
31 Using kselftest framework will run all supported tests within resctrl_tests:
35 More details about kselftest framework can be found in
36 Documentation/dev-tools/kselftest.rst.
/linux-6.3-rc2/tools/testing/selftests/arm64/fp/
A DREADME1 This directory contains a mix of tests integrated with kselftest and
4 kselftest tests
10 Running the non-kselftest tests
/linux-6.3-rc2/tools/testing/selftests/lib/
A Dstrscpy.sh3 $(dirname $0)/../kselftest/module.sh "strscpy*" test_strscpy
A Dbitmap.sh3 $(dirname $0)/../kselftest/module.sh "bitmap" test_bitmap
A Dprintf.sh4 $(dirname $0)/../kselftest/module.sh "printf" test_printf
A Dscanf.sh4 $(dirname $0)/../kselftest/module.sh "scanf" test_scanf
A Dprime_numbers.sh4 $(dirname $0)/../kselftest/module.sh "prime numbers" prime_numbers selftest=65536
/linux-6.3-rc2/tools/testing/selftests/filesystems/binderfs/
A DMakefile6 binderfs_test: binderfs_test.c ../../kselftest.h ../../kselftest_harness.h
/linux-6.3-rc2/tools/testing/selftests/uevent/
A DMakefile11 uevent_filtering: uevent_filtering.c ../kselftest.h ../kselftest_harness.h
/linux-6.3-rc2/Documentation/dev-tools/kunit/
A Dfaq.rst7 How is this different from Autotest, kselftest, and so on?
9 KUnit is a unit testing framework. Autotest, kselftest (and some others) are
22 kernel under test. This is true for Autotest, kselftest, and some others,
/linux-6.3-rc2/tools/testing/selftests/kselftest/
A Drunner.sh30 "$BASE_DIR"/kselftest/prefix.pl
/linux-6.3-rc2/Documentation/admin-guide/pm/
A Damd-pstate.rst522 We use test module in the kselftest frameworks to implement it.
523 We create ``amd-pstate-ut`` module and tie it into kselftest.(for
544 $ make -C tools/testing/selftests install INSTALL_PATH=~/kselftest
546 $ sudo ./kselftest/run_kselftest.sh -c amd-pstate
550 $ cd ~/kselftest/amd-pstate
703 https://www.kernel.org/doc/html/latest/dev-tools/kselftest.html
/linux-6.3-rc2/
A DMakefile1445 PHONY += kselftest
1446 kselftest: headers target
1449 kselftest-%: headers FORCE
1452 PHONY += kselftest-merge
1453 kselftest-merge:
/linux-6.3-rc2/Documentation/process/
A Dmaintainer-pgp-guide.rst820 ✓ [PATCH v1 1/3] kselftest/arm64: Correct buffer allocation for SVE Z registers
822 ✓ [PATCH v1 3/3] kselftest/arm64: Enforce actual ABI for SVE syscalls

Completed in 31 milliseconds

12