Home
last modified time | relevance | path

Searched full:test (Results 1 – 25 of 6993) sorted by relevance

12345678910>>...280

/OK3568_Linux_fs/buildroot/dl/stress-ng/
HDstress-ng-0.13.01.tar.gz ... 0.13.01/debian/tests/fast-test-all stress-ng-0.13.01/ ...
/OK3568_Linux_fs/kernel/tools/perf/tests/
H A Dtests.h30 struct test { struct
32 int (*func)(struct test *test, int subtest); argument
44 int test__vmlinux_matches_kallsyms(struct test *test, int subtest); argument
45 int test__openat_syscall_event(struct test *test, int subtest);
46 int test__openat_syscall_event_on_all_cpus(struct test *test, int subtest);
47 int test__basic_mmap(struct test *test, int subtest);
48 int test__PERF_RECORD(struct test *test, int subtest);
49 int test__perf_evsel__roundtrip_name_test(struct test *test, int subtest);
50 int test__perf_evsel__tp_sched_test(struct test *test, int subtest);
51 int test__syscall_openat_tp_fields(struct test *test, int subtest);
[all …]
/OK3568_Linux_fs/buildroot/dl/meson/
HDmeson-1.0.0.tar.gz ... .vim meson-1.0.0/data/test.schema.json meson-1.0.0/ ...
/OK3568_Linux_fs/kernel/tools/build/feature/
H A DMakefile3 test-all.bin \
4 test-backtrace.bin \
5 test-bionic.bin \
6 test-dwarf.bin \
7 test-dwarf_getlocations.bin \
8 test-eventfd.bin \
9 test-fortify-source.bin \
10 test-sync-compare-and-swap.bin \
11 test-get_current_dir_name.bin \
12 test-glibc.bin \
[all …]
/OK3568_Linux_fs/kernel/include/kunit/
H A Dtest.h3 * Base unit test (KUnit) API.
26 * struct kunit_resource - represents a *test managed resource*
32 * Represents a *test managed resource*, a resource which will automatically be
33 * cleaned up at the end of a test case.
66 * void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp)
73 * return kunit_alloc_resource(test, kunit_kmalloc_init,
80 * unique within the test instance.
94 /* Size of log associated with test. */
106 * struct kunit_case - represents an individual test case.
108 * @run_case: the function representing the actual test case.
[all …]
/OK3568_Linux_fs/kernel/lib/kunit/
H A Dkunit-test.c3 * KUnit test for core test infrastructure.
8 #include <kunit/test.h>
19 struct kunit *test = data; in kunit_test_successful_try() local
20 struct kunit_try_catch_test_context *ctx = test->priv; in kunit_test_successful_try()
27 struct kunit *test = data; in kunit_test_no_catch() local
29 KUNIT_FAIL(test, "Catch should not be called\n"); in kunit_test_no_catch()
32 static void kunit_test_try_catch_successful_try_no_catch(struct kunit *test) in kunit_test_try_catch_successful_try_no_catch() argument
34 struct kunit_try_catch_test_context *ctx = test->priv; in kunit_test_try_catch_successful_try_no_catch()
38 test, in kunit_test_try_catch_successful_try_no_catch()
41 kunit_try_catch_run(try_catch, test); in kunit_test_try_catch_successful_try_no_catch()
[all …]
H A Dtest.c3 * Base unit test (KUnit) API.
9 #include <kunit/test.h>
71 struct kunit *test = is_test ? test_or_suite : NULL; in kunit_print_ok_not_ok() local
74 * We do not log the test suite results as doing so would in kunit_print_ok_not_ok()
75 * mean debugfs display would consist of the test suite in kunit_print_ok_not_ok()
76 * description and status prior to individual test results. in kunit_print_ok_not_ok()
86 kunit_log(KERN_INFO, test, KUNIT_SUBTEST_INDENT "%s %zd - %s", in kunit_print_ok_not_ok()
130 static void kunit_print_string_stream(struct kunit *test, in kunit_print_string_stream() argument
141 kunit_err(test, in kunit_print_string_stream()
144 kunit_err(test, "%s", fragment->fragment); in kunit_print_string_stream()
[all …]
/OK3568_Linux_fs/kernel/lib/
H A Dtest_kasan.c25 #include <kunit/test.h>
46 * test, see the comment for KUNIT_EXPECT_KASAN_FAIL().
48 static int kasan_test_init(struct kunit *test) in kasan_test_init() argument
51 kunit_err(test, "can't run KASAN tests with KASAN disabled"); in kasan_test_init()
60 static void kasan_test_exit(struct kunit *test) in kasan_test_exit() argument
68 * KASAN report; causes a test failure otherwise. This relies on a KUnit
73 * checking is auto-disabled. When this happens, this test handler reenables
82 #define KUNIT_EXPECT_KASAN_FAIL(test, expression) do { \ argument
88 kunit_add_named_resource(test, \
99 KUNIT_EXPECT_EQ(test, \
[all …]
H A Dlist-test.c3 * KUnit test for the Kernel Linked-list structures.
8 #include <kunit/test.h>
17 static void list_test_list_init(struct kunit *test) in list_test_list_init() argument
19 /* Test the different ways of initialising a list. */ in list_test_list_init()
36 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list1)); in list_test_list_init()
37 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list2)); in list_test_list_init()
38 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list3)); in list_test_list_init()
39 KUNIT_EXPECT_TRUE(test, list_empty_careful(list4)); in list_test_list_init()
40 KUNIT_EXPECT_TRUE(test, list_empty_careful(list5)); in list_test_list_init()
46 static void list_test_list_add(struct kunit *test) in list_test_list_add() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/base/test/
H A Dproperty-entry-test.c6 #include <kunit/test.h>
10 static void pe_test_uints(struct kunit *test) in pe_test_uints() argument
28 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, node); in pe_test_uints()
31 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints()
32 KUNIT_EXPECT_EQ(test, (int)val_u8, 8); in pe_test_uints()
35 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints()
36 KUNIT_EXPECT_EQ(test, (int)array_u8[0], 8); in pe_test_uints()
39 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints()
42 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints()
45 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints()
[all …]
/OK3568_Linux_fs/buildroot/dl/dbus/
HDdbus-1.12.20.tar.gz ... name-test/ dbus-1.12.20/test/name-test/test-activation-forking
/OK3568_Linux_fs/kernel/tools/pci/
H A Dpcitest.c3 * Userspace PCI Endpoint Test Module
41 static int run_test(struct pci_test *test) in run_test() argument
47 fd = open(test->device, O_RDWR); in run_test()
49 perror("can't open PCI Endpoint Test device"); in run_test()
53 if (test->barnum >= 0 && test->barnum <= 5) { in run_test()
54 ret = ioctl(fd, PCITEST_BAR, test->barnum); in run_test()
55 fprintf(stdout, "BAR%d:\t\t", test->barnum); in run_test()
57 fprintf(stdout, "TEST FAILED\n"); in run_test()
62 if (test->set_irqtype) { in run_test()
63 ret = ioctl(fd, PCITEST_SET_IRQTYPE, test->irqtype); in run_test()
[all …]
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dpolicy_unpack_test.c6 #include <kunit/test.h>
52 struct kunit *test, size_t buf_size) in build_aa_ext_struct() argument
57 buf = kunit_kzalloc(test, buf_size, GFP_USER); in build_aa_ext_struct()
58 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, buf); in build_aa_ext_struct()
60 e = kunit_kmalloc(test, sizeof(*e), GFP_USER); in build_aa_ext_struct()
61 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, e); in build_aa_ext_struct()
109 static int policy_unpack_test_init(struct kunit *test) in policy_unpack_test_init() argument
114 puf = kunit_kmalloc(test, sizeof(*puf), GFP_USER); in policy_unpack_test_init()
115 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, puf); in policy_unpack_test_init()
118 puf->e = build_aa_ext_struct(puf, test, e_size); in policy_unpack_test_init()
[all …]
/OK3568_Linux_fs/u-boot/test/py/tests/
H A Dtest_hush_if_test.py5 # Test operation of the "if" shell command.
13 # The list of "if test" conditions to test.
22 ('test aaa = aaa', True),
23 ('test aaa = bbb', False),
25 ('test aaa != bbb', True),
26 ('test aaa != aaa', False),
28 ('test aaa < bbb', True),
29 ('test bbb < aaa', False),
31 ('test bbb > aaa', True),
32 ('test aaa > bbb', False),
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/
H A Dpci_endpoint_test.c3 * Host side test driver to test endpoint functionality
28 #define DRV_MODULE_NAME "pci-endpoint-test"
127 static inline u32 pci_endpoint_test_readl(struct pci_endpoint_test *test, in pci_endpoint_test_readl() argument
130 return readl(test->base + offset); in pci_endpoint_test_readl()
133 static inline void pci_endpoint_test_writel(struct pci_endpoint_test *test, in pci_endpoint_test_writel() argument
136 writel(value, test->base + offset); in pci_endpoint_test_writel()
139 static inline u32 pci_endpoint_test_bar_readl(struct pci_endpoint_test *test, in pci_endpoint_test_bar_readl() argument
142 return readl(test->bar[bar] + offset); in pci_endpoint_test_bar_readl()
145 static inline void pci_endpoint_test_bar_writel(struct pci_endpoint_test *test, in pci_endpoint_test_bar_writel() argument
148 writel(value, test->bar[bar] + offset); in pci_endpoint_test_bar_writel()
[all …]
/OK3568_Linux_fs/external/mpp/osal/test/
H A Dmpp_log_test.c23 mpp_logi("mpp log test start\n"); in main()
29 mpp_logf("test mpp_logf\n"); in main()
30 mpp_loge("test mpp_loge\n"); in main()
31 mpp_logw("test mpp_logw\n"); in main()
32 mpp_logi("test mpp_logi\n"); in main()
33 mpp_logd("test mpp_logd\n"); in main()
34 mpp_logv("test mpp_logv\n"); in main()
40 mpp_logf("test mpp_logf\n"); in main()
41 mpp_loge("test mpp_loge\n"); in main()
42 mpp_logw("test mpp_logw\n"); in main()
[all …]
/OK3568_Linux_fs/kernel/drivers/thunderbolt/
H A Dtest.c9 #include <kunit/test.h>
31 static void kunit_ida_init(struct kunit *test, struct ida *ida) in kunit_ida_init() argument
33 kunit_alloc_resource(test, __ida_init, __ida_destroy, GFP_KERNEL, ida); in kunit_ida_init()
36 static struct tb_switch *alloc_switch(struct kunit *test, u64 route, in alloc_switch() argument
43 sw = kunit_kzalloc(test, sizeof(*sw), GFP_KERNEL); in alloc_switch()
55 sw->ports = kunit_kzalloc(test, size, GFP_KERNEL); in alloc_switch()
64 kunit_ida_init(test, &sw->ports[i].in_hopids); in alloc_switch()
65 kunit_ida_init(test, &sw->ports[i].out_hopids); in alloc_switch()
72 static struct tb_switch *alloc_host(struct kunit *test) in alloc_host() argument
76 sw = alloc_switch(test, 0, 7, 13); in alloc_host()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/tests/include/kutf/
H A Dkutf_suite.h22 * Functions for management of test suites.
25 * create Test Suites, Tests within those Test Suites, and Fixture variants
26 * of each test.
33 * Pseudo-flag indicating an absence of any specified test class. Note that
41 * Class indicating this test is a smoke test.
43 * of "regress-on-commit" test runs.
48 * Class indicating this test is a performance test.
55 * Class indicating that this test is a deprecated test.
56 * These tests have typically been replaced by an alternative test which is
62 * Class indicating that this test is a known failure.
[all …]
/OK3568_Linux_fs/buildroot/package/noto/
H A D70-fonts-noto-cjk.conf5 <test name="lang">
7 </test>
8 <test name="family">
10 </test>
17 <test name="lang">
19 </test>
20 <test name="family">
22 </test>
29 <test name="lang">
31 </test>
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/include/kutf/
H A Dkutf_suite.h26 * Functions for management of test suites.
29 * create Test Suites, Tests within those Test Suites, and Fixture variants
30 * of each test.
46 * KUTF_F_TEST_NONE - Pseudo-flag indicating an absence of any specified test class.
54 * KUTF_F_TEST_SMOKETEST - Class indicating this test is a smoke test.
56 * of "regress-on-commit" test runs.
61 * KUTF_F_TEST_PERFORMANCE - Class indicating this test is a performance test.
68 * KUTF_F_TEST_DEPRECATED - Class indicating that this test is a deprecated test.
69 * These tests have typically been replaced by an alternative test which is
75 * KUTF_F_TEST_EXPECTED_FAILURE - Class indicating that this test is a known failure.
[all …]
/OK3568_Linux_fs/kernel/usr/include/
H A DMakefile26 no-header-test += asm/shmbuf.h
27 no-header-test += asm/signal.h
28 no-header-test += asm/ucontext.h
29 no-header-test += drm/vmwgfx_drm.h
30 no-header-test += linux/am437x-vpfe.h
31 no-header-test += linux/android/binder.h
32 no-header-test += linux/android/binderfs.h
33 no-header-test += linux/coda.h
34 no-header-test += linux/errqueue.h
35 no-header-test += linux/fsmap.h
[all …]
/OK3568_Linux_fs/kernel/drivers/mmc/core/
H A Dmmc_test.c38 * Limit the test area size to the maximum MMC HC erase group size. Note that
65 * @max_sz: test area size (in bytes)
110 * @card: card under test
111 * @testcase: number of test case
112 * @result: result of test run
126 * @card: card under test
136 * struct mmc_test_card - test information.
137 * @card: card under test
179 static int mmc_test_set_blksize(struct mmc_test_card *test, unsigned size) in mmc_test_set_blksize() argument
181 return mmc_set_blocklen(test->card, size); in mmc_test_set_blksize()
[all …]
/OK3568_Linux_fs/buildroot/dl/libopenssl/
HDopenssl-1.1.1l.tar.gz ... in openssl-1.1.1l/VMS/test-includes.com openssl-1.1.1l ...
/OK3568_Linux_fs/kernel/Documentation/dev-tools/kunit/
H A Dusage.rst21 to unit test code that was otherwise un-unit-testable.
39 A `unit test <https://martinfowler.com/bliki/UnitTest.html>`_ is a test that
50 Test Cases
53 The fundamental unit in KUnit is the test case. A test case is a function with
54 the signature ``void (*)(struct kunit *test)``. It calls a function to be tested
59 void example_test_success(struct kunit *test)
63 void example_test_failure(struct kunit *test)
65 KUNIT_FAIL(test, "This test never passes.");
71 a special expectation that logs a message and causes the test case to fail.
76 something in a test. An expectation is called like a function. A test is made
[all …]
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.POST1 Power-On-Self-Test support in U-Boot
4 This project is to support Power-On-Self-Test (POST) in U-Boot.
11 and running Power-On-Self-Test in U-Boot. This framework shall
34 o) CPU test
35 o) Cache test
36 o) Memory test
37 o) Ethernet test
38 o) Serial channels test
39 o) Watchdog timer test
40 o) RTC test
[all …]

12345678910>>...280