Home
last modified time | relevance | path

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

123456789

/Linux-v4.19/fs/btrfs/
DMakefile19 btrfs-$(CONFIG_BTRFS_FS_RUN_SANITY_TESTS) += tests/free-space-tests.o \
20 tests/extent-buffer-tests.o tests/btrfs-tests.o \
21 tests/extent-io-tests.o tests/inode-tests.o tests/qgroup-tests.o \
22 tests/free-space-tree-tests.o tests/extent-map-tests.o
/Linux-v4.19/tools/lib/lockdep/
Drun_tests.sh6 for i in `ls tests/*.c`; do
8 gcc -o tests/$testname -pthread $i liblockdep.a -Iinclude -D__USE_LIBLOCKDEP &> /dev/null
10 if [ $(timeout 1 ./tests/$testname 2>&1 | wc -l) -gt 0 ]; then
16 rm tests/$testname
20 for i in `ls tests/*.c`; do
22 gcc -o tests/$testname -pthread -Iinclude $i &> /dev/null
24 if [ $(timeout 1 ./lockdep ./tests/$testname 2>&1 | wc -l) -gt 0 ]; then
30 rm tests/$testname
/Linux-v4.19/Documentation/dev-tools/
Dkselftest.rst5 The kernel contains a set of "self tests" under the tools/testing/selftests/
6 directory. These are intended to be small tests to exercise individual code
10 On some systems, hot-plug tests could hang forever waiting for cpu and
12 to run full range of hot-plug tests. In default mode, hot-plug tests run
17 Running the selftests (hotplug tests are run in limited mode)
20 To build the tests::
24 To run the tests::
28 To build and run the tests with a single command, use::
32 Note that some tests will require root privileges.
42 The above commands run the tests and print pass/fail summary to make it
[all …]
/Linux-v4.19/tools/perf/tests/
DBuild53 $(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build
55 $(Q)echo '#include <tests/llvm.h>' > $@
60 $(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c tests/Build
62 $(Q)echo '#include <tests/llvm.h>' > $@
67 $(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c tests/Build
69 $(Q)echo '#include <tests/llvm.h>' > $@
74 $(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build
76 $(Q)echo '#include <tests/llvm.h>' > $@
/Linux-v4.19/tools/perf/Documentation/
Dperf-test.txt6 perf-test - Runs sanity tests.
15 This command does assorted sanity tests, initially through linked routines but
16 also will look for a directory with more tests in the form of scripts.
18 To get a list of available tests use 'perf test list', specifying a test name
19 fragment will show all tests that have it.
21 To run just specific tests, inform test name fragments or the numbers obtained
36 Do not fork child for each test, run all tests within single process.
/Linux-v4.19/drivers/of/unittest-data/
Dtestcases.dts15 #include "tests-phandle.dtsi"
16 #include "tests-interrupts.dtsi"
17 #include "tests-match.dtsi"
18 #include "tests-platform.dtsi"
19 #include "tests-overlay.dtsi"
/Linux-v4.19/drivers/net/ethernet/sfc/
Dselftest.c99 static int efx_test_phy_alive(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_phy_alive() argument
105 tests->phy_alive = rc ? -1 : 1; in efx_test_phy_alive()
111 static int efx_test_nvram(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_nvram() argument
120 tests->nvram = rc ? -1 : 1; in efx_test_nvram()
134 struct efx_self_tests *tests) in efx_test_interrupts() argument
141 tests->interrupt = -1; in efx_test_interrupts()
147 tests->interrupt = 0; in efx_test_interrupts()
170 tests->interrupt = 1; in efx_test_interrupts()
176 struct efx_self_tests *tests) in efx_test_eventq_irq() argument
224 tests->eventq_dma[channel->channel] = dma_seen ? 1 : -1; in efx_test_eventq_irq()
[all …]
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dselftest.c99 static int ef4_test_phy_alive(struct ef4_nic *efx, struct ef4_self_tests *tests) in ef4_test_phy_alive() argument
105 tests->phy_alive = rc ? -1 : 1; in ef4_test_phy_alive()
111 static int ef4_test_nvram(struct ef4_nic *efx, struct ef4_self_tests *tests) in ef4_test_nvram() argument
120 tests->nvram = rc ? -1 : 1; in ef4_test_nvram()
134 struct ef4_self_tests *tests) in ef4_test_interrupts() argument
141 tests->interrupt = -1; in ef4_test_interrupts()
147 tests->interrupt = 0; in ef4_test_interrupts()
170 tests->interrupt = 1; in ef4_test_interrupts()
176 struct ef4_self_tests *tests) in ef4_test_eventq_irq() argument
224 tests->eventq_dma[channel->channel] = dma_seen ? 1 : -1; in ef4_test_eventq_irq()
[all …]
/Linux-v4.19/tools/testing/vsock/
DREADME3 These tests exercise net/vmw_vsock/ host<->guest sockets for VMware, KVM, and
6 The following tests are available:
11 to running tests:
13 1. Build the kernel and these tests.
14 2. Install the kernel and tests on the host.
15 3. Install the kernel and tests inside the guest.
/Linux-v4.19/crypto/async_tx/
Draid6test.c157 static int test(int disks, int *tests) in test() argument
189 (*tests)++; in test()
200 int tests = 0; in raid6_test() local
214 err += test(4, &tests); in raid6_test()
216 err += test(5, &tests); in raid6_test()
221 err += test(11, &tests); in raid6_test()
222 err += test(12, &tests); in raid6_test()
230 err += test(24, &tests); in raid6_test()
232 err += test(NDISKS, &tests); in raid6_test()
236 tests, err, err == 1 ? "" : "s"); in raid6_test()
/Linux-v4.19/kernel/rcu/
DKconfig.debug15 tristate "performance tests for RCU"
23 tests on the RCU infrastructure. The kernel module may be built
26 Say Y here if you want RCU performance tests to be built into
28 Say M if you want the RCU performance tests to build as a module.
32 tristate "torture tests for RCU"
39 This option provides a kernel module that runs torture tests
43 Say Y here if you want RCU torture tests to be built into
45 Say M if you want the RCU torture tests to build as a module.
/Linux-v4.19/Documentation/misc-devices/
Dpci-endpoint-test.txt7 The "pci_endpoint_test" driver can be used to perform the following tests.
9 The PCI driver for the test device performs the following tests
20 should be used to perform the above tests.
34 PCITEST_WRITE: Perform write tests. The size of the buffer should be passed
36 PCITEST_READ: Perform read tests. The size of the buffer should be passed
38 PCITEST_COPY: Perform read tests. The size of the buffer should be passed
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_tag.c165 static void do_test(uint32_t *tests, int start_insns, int fd_map, in do_test() argument
181 (*tests)++; in do_test()
187 uint32_t tests = 0; in main() local
195 do_test(&tests, 2, -1, bpf_gen_imm_prog); in main()
196 do_test(&tests, 3, fd_map, bpf_gen_map_prog); in main()
199 printf("test_tag: OK (%u tests)\n", tests); in main()
/Linux-v4.19/tools/memory-model/scripts/
Dcheckalllitmus.sh39 litmusdir=${1-litmus-tests}
60 for i in litmus-tests/*.litmus
71 echo All litmus tests verified as was expected.
/Linux-v4.19/tools/testing/selftests/tc-testing/
DREADME5 tdc is a Python script to load tc unit tests from a separate JSON file and
18 prior to running the tests.
21 unit tests. See the config file in this directory for minimum required
22 features. As new tests will be added, config options list will be updated.
32 handled in a future version - the current workaround is to run the tests
56 If nsPlugin is linked, all tests are executed inside a network
59 Running tdc without any arguments will run all tests. Refer to the section
64 TAP (Test Anything Protocol) format when they are done. If tests fail,
72 One run of tests is considered a "test suite" (this will be refined in the
89 tests the return code against one or more acceptable values. The
[all …]
/Linux-v4.19/tools/testing/scatterlist/
Dmain.c30 } *test, tests[] = { in main() local
55 for (i = 0, test = tests; test->expected_segments; test++, i++) { in main()
76 assert(i == (sizeof(tests) / sizeof(tests[0])) - 1); in main()
/Linux-v4.19/tools/perf/tests/attr/
DREADME1 The struct perf_event_attr test (attr tests) support
12 The attr tests consist of following parts:
14 tests/attr.c
25 tests/attr.py
30 tests/attr/
33 Following tests are defined (with perf commands):
/Linux-v4.19/tools/testing/selftests/net/
Dsocket.c26 static struct socket_testcase tests[] = { variable
44 for (i = 0; i < ARRAY_SIZE(tests); i++) { in run_tests()
45 struct socket_testcase *s = &tests[i]; in run_tests()
/Linux-v4.19/tools/testing/selftests/cgroup/
Dtest_core.c361 } tests[] = { variable
379 for (i = 0; i < ARRAY_SIZE(tests); i++) { in main()
380 switch (tests[i].fn(root)) { in main()
382 ksft_test_result_pass("%s\n", tests[i].name); in main()
385 ksft_test_result_skip("%s\n", tests[i].name); in main()
389 ksft_test_result_fail("%s\n", tests[i].name); in main()
/Linux-v4.19/tools/testing/selftests/ftrace/
DREADME31 * Take care with side effects as the tests are run with root privilege.
33 * The tests should not run for a long period of time (more than 1 min.)
34 These are to be unit tests.
41 * Note that the tests are run with "set -e" (errexit) option. If any
44 * The tests can return some result codes instead of pass or fail by
/Linux-v4.19/tools/testing/selftests/net/forwarding/
Dmirror_gre_bridge_1q.sh100 tests() function
117 tests
123 tests
/Linux-v4.19/Documentation/isdn/
DHiSax.cert23 Additional ITU approval tests have been carried out for all generic cards
26 These tests included all layers 1-3 and as well all functional tests for
29 regarded as approved for those tests. Some additional electrical tests
32 solution has been tested including those electrical tests. So if cards
34 for those electrical tests is valid for linux, too.
/Linux-v4.19/tools/testing/selftests/futex/
DREADME6 Functional tests shall test the documented behavior of the futex operation
8 odd corner cases, regression tests, and abject abuse and misuse.
24 the individual tests on mailing list discussions and bug reports.
53 o FIXME: decide on a sane test naming scheme. Currently the tests are named
55 problem as we intend to write multiple tests which collide in this namespace.
/Linux-v4.19/Documentation/networking/mac80211_hwsim/
DREADME23 and always reproduce the same setup for future tests. In addition,
25 tests regardless of regulatory rules.
30 point and a station) or large scale tests (multiple access points with
67 git://w1.fi/srv/git/hostap.git and mac80211_hwsim/tests subdirectory
68 (http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=tree;f=mac80211_hwsim/tests)
/Linux-v4.19/tools/memory-model/
DREADME12 the state space of small litmus tests.
36 explore the state space of small litmus tests.
40 $ herd7 -conf linux-kernel.cfg litmus-tests/SB+fencembonceonces.litmus
73 $ klitmus7 -o mymodules litmus-tests/SB+fencembonceonces.litmus
142 litmus-tests
143 Directory containing a few representative litmus tests, which
144 are listed in litmus-tests/README. A great deal more litmus
145 tests are available at https://github.com/paulmckrcu/litmus.

123456789