Searched refs:tests (Results 76 - 100 of 231) sorted by relevance

12345678910

/linux-master/tools/testing/ktest/examples/
H A Dvmware.conf71 # See the include/*.conf files that define these tests
75 # Some tests may have more than one test to run. Define MULTI := 1 to run
76 # the extra tests.
133 # the same tests.
135 INCLUDE include/tests.conf
/linux-master/tools/perf/
H A DMakefile94 # it also uses only the tests/make targets that don't pollute the source
100 # make -C tools/perf -f tests/make
103 @$(MAKE) SHUF=1 -f tests/make REUSE_FEATURES_DUMP=1 MK=Makefile SET_PARALLEL=1 --no-print-directory tarpkg make_static make_with_gtk2 out
106 @$(MAKE) -f tests/make REUSE_FEATURES_DUMP=1 MK=Makefile SET_PARALLEL=1 --no-print-directory out
/linux-master/tools/testing/selftests/openat2/
H A Dopenat2_test.c55 struct struct_test tests[] = { local
87 BUILD_BUG_ON(ARRAY_LEN(tests) != NUM_OPENAT2_STRUCT_TESTS);
89 for (int i = 0; i < ARRAY_LEN(tests); i++) {
90 struct struct_test *test = &tests[i];
167 struct flag_test tests[] = { local
244 BUILD_BUG_ON(ARRAY_LEN(tests) != NUM_OPENAT2_FLAG_TESTS);
246 for (int i = 0; i < ARRAY_LEN(tests); i++) {
250 struct flag_test *test = &tests[i];
/linux-master/tools/testing/selftests/bpf/
H A Dtest_tag.c165 static void do_test(uint32_t *tests, int start_insns, int fd_map, argument
181 (*tests)++;
188 uint32_t tests = 0; local
199 do_test(&tests, 2, -1, bpf_gen_imm_prog);
200 do_test(&tests, 3, fd_map, bpf_gen_map_prog);
203 printf("test_tag: OK (%u tests)\n", tests);
/linux-master/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test.c334 unsigned int tests = 0; local
337 tests += 3 * COUNT_ISN_BPS;
338 tests += sizeof(long) / 2 * 3 * COUNT_WPS;
339 tests += sizeof(long) / 2 * 3 * COUNT_WPS;
340 tests += 2;
341 ksft_set_plan(tests);
H A Dstep_after_suspend_test.c168 unsigned int tests = 0; local
194 tests++;
200 ksft_set_plan(tests);
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_cpuset.c240 } tests[] = { variable in typeref:struct:cpuset_test
259 for (i = 0; i < ARRAY_SIZE(tests); i++) {
260 switch (tests[i].fn(root)) {
262 ksft_test_result_pass("%s\n", tests[i].name);
265 ksft_test_result_skip("%s\n", tests[i].name);
269 ksft_test_result_fail("%s\n", tests[i].name);
H A Dtest_kill.c267 } tests[] = { variable in typeref:struct:cgkill_test
281 for (i = 0; i < ARRAY_SIZE(tests); i++) {
282 switch (tests[i].fn(root)) {
284 ksft_test_result_pass("%s\n", tests[i].name);
287 ksft_test_result_skip("%s\n", tests[i].name);
291 ksft_test_result_fail("%s\n", tests[i].name);
H A Dtest_kmem.c408 } tests[] = { variable in typeref:struct:kmem_test
437 for (i = 0; i < ARRAY_SIZE(tests); i++) {
438 switch (tests[i].fn(root)) {
440 ksft_test_result_pass("%s\n", tests[i].name);
443 ksft_test_result_skip("%s\n", tests[i].name);
447 ksft_test_result_fail("%s\n", tests[i].name);
H A Dtest_freezer.c811 } tests[] = { variable in typeref:struct:cgfreezer_test
832 for (i = 0; i < ARRAY_SIZE(tests); i++) {
833 switch (tests[i].fn(root)) {
835 ksft_test_result_pass("%s\n", tests[i].name);
838 ksft_test_result_skip("%s\n", tests[i].name);
842 ksft_test_result_fail("%s\n", tests[i].name);
H A Dtest_zswap.c548 } tests[] = { variable in typeref:struct:zswap_test
586 for (i = 0; i < ARRAY_SIZE(tests); i++) {
587 switch (tests[i].fn(root)) {
589 ksft_test_result_pass("%s\n", tests[i].name);
592 ksft_test_result_skip("%s\n", tests[i].name);
596 ksft_test_result_fail("%s\n", tests[i].name);
/linux-master/net/netfilter/
H A Dxt_u32.c35 ct = &data->tests[testind];
105 if (data->ntests > ARRAY_SIZE(data->tests))
109 ct = &data->tests[i];
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsection_names.c20 static struct sec_name_test tests[] = { variable in typeref:struct:sec_name_test
254 for (i = 0; i < ARRAY_SIZE(tests); ++i) {
255 struct sec_name_test *test = &tests[i];
H A Dbtf_skc_cls_ingress.c194 static struct test tests[] = { variable in typeref:struct:test
207 for (i = 0; i < ARRAY_SIZE(tests); i++) {
208 if (!test__start_subtest(tests[i].desc))
214 tests[i].run();
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_ring.c105 static const struct i915_subtest tests[] = { local
109 return i915_subtests(tests, NULL);
/linux-master/tools/testing/selftests/net/
H A Dip_local_port_range.c220 } tests[] = { local
226 for (t = tests; t < tests + ARRAY_SIZE(tests); t++) {
269 } tests[] = { local
279 for (t = tests; t < tests + ARRAY_SIZE(tests); t++) {
/linux-master/drivers/spi/
H A Dspi-test.h36 * struct spi_test - describes a specific (set of) tests to execute
48 * or to effectively run some very custom tests...
116 /* function to execute a set of tests */
118 struct spi_test *tests);
/linux-master/drivers/mtd/
H A DMakefile29 obj-y += chips/ lpddr/ maps/ devices/ nand/ tests/
/linux-master/tools/lib/perf/tests/
H A Dtest-threadmap.c5 #include <internal/tests.h>
6 #include "tests.h"
/linux-master/drivers/input/
H A DMakefile29 obj-$(CONFIG_INPUT_KUNIT_TEST) += tests/
/linux-master/include/drm/
H A Ddrm_color_mgmt.h95 * enum drm_color_lut_tests - hw-specific LUT tests to perform
98 * determine which tests to apply to a userspace-provided LUT.
120 int drm_color_lut_check(const struct drm_property_blob *lut, u32 tests);
/linux-master/tools/testing/selftests/mm/
H A Dmkdirty.c329 int err, tests = 2; local
336 tests += 3;
339 tests += 1;
343 ksft_set_plan(tests);
376 ksft_exit_fail_msg("%d out of %d tests failed\n",
H A DMakefile42 TEST_GEN_FILES += hmm-tests
58 TEST_GEN_FILES += mlock2-tests
69 TEST_GEN_FILES += uffd-unit-tests
132 $(OUTPUT)/uffd-unit-tests: uffd-common.c
204 echo "Warning: missing liburing support. Some tests will be skipped." ; \
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dselftest_guc_multi_lrc.c172 static const struct i915_subtest tests[] = { local
183 return intel_gt_live_subtests(tests, gt);
H A Dselftest_guc_hangcheck.c150 static const struct i915_subtest tests[] = { local
161 return intel_gt_live_subtests(tests, gt);

Completed in 191 milliseconds

12345678910