Searched refs:unittest (Results 1 – 25 of 36) sorted by relevance
12
/linux-6.12.1/drivers/comedi/drivers/tests/ |
D | ni_routes_test.c | 224 unittest(strncmp(devroutes->device, pci_6070e, 10) == 0, in test_ni_assign_device_routes() 226 unittest(devroutes->n_route_sets == 37, in test_ni_assign_device_routes() 228 unittest(devroutes->routes->dest == NI_PFI(0), in test_ni_assign_device_routes() 230 unittest(devroutes->routes->n_src == 1, in test_ni_assign_device_routes() 232 unittest(devroutes->routes->src[0] == NI_AI_StartTrigger, in test_ni_assign_device_routes() 234 unittest(devroutes->routes[10].dest == TRIGGER_LINE(0), in test_ni_assign_device_routes() 236 unittest(devroutes->routes[10].n_src == 10, in test_ni_assign_device_routes() 238 unittest(devroutes->routes[10].src[0] == NI_CtrSource(0), in test_ni_assign_device_routes() 240 unittest(route_set_dests_in_order(devroutes), in test_ni_assign_device_routes() 242 unittest(route_set_sources_in_order(devroutes), in test_ni_assign_device_routes() [all …]
|
D | comedi_example_test.c | 47 unittest(dev.item != 11, "negative result\n"); in test0() 48 unittest(dev.item == 10, "positive result\n"); in test0()
|
/linux-6.12.1/Documentation/devicetree/bindings/ |
D | unittest.txt | 1 1) OF unittest platform device 3 ** unittest 6 - compatible: must be "unittest" 11 unittest { 12 compatible = "unittest"; 15 2) OF unittest i2c adapter platform device 17 ** platform device unittest adapter 20 - compatible: must be unittest-i2c-bus 22 Children nodes contain unittest i2c devices. 25 unittest-i2c-bus { [all …]
|
/linux-6.12.1/drivers/of/ |
D | unittest.c | 41 #define unittest(result, fmt, ...) ({ \ macro 87 unittest(np && name && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name() 94 unittest(!np, "trailing '/' on /testcase-data/ should fail\n"); in of_unittest_find_node_by_name() 98 unittest(np && name && !strcmp("/testcase-data/phandle-tests/consumer-a", name), in of_unittest_find_node_by_name() 105 unittest(np && name && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name() 112 unittest(!np, "trailing '/' on testcase-alias/ should fail\n"); in of_unittest_find_node_by_name() 116 unittest(np && name && !strcmp("/testcase-data/phandle-tests/consumer-a", name), in of_unittest_find_node_by_name() 122 unittest(!np, "non-existent path returned node %pOF\n", np); in of_unittest_find_node_by_name() 126 unittest(!np, "non-existent alias returned node %pOF\n", np); in of_unittest_find_node_by_name() 130 unittest(!np, "non-existent alias with relative path returned node %pOF\n", np); in of_unittest_find_node_by_name() [all …]
|
D | Makefile | 10 obj-$(CONFIG_OF_UNITTEST) += unittest.o 27 obj-$(CONFIG_OF_UNITTEST) += unittest-data/
|
/linux-6.12.1/drivers/of/unittest-data/ |
D | tests-overlay.dtsi | 13 compatible = "unittest"; 19 compatible = "unittest"; 25 compatible = "unittest"; 31 compatible = "unittest"; 37 compatible = "unittest"; 43 compatible = "unittest"; 49 compatible = "unittest"; 55 compatible = "unittest"; 61 compatible = "unittest"; 67 compatible = "unittest"; [all …]
|
D | overlay_pci_node.dtso | 15 unittest-pci@100 { 16 compatible = "unittest-pci";
|
D | overlay_10.dtso | 14 compatible = "unittest"; 22 compatible = "unittest";
|
D | overlay_11.dtso | 14 compatible = "unittest"; 22 compatible = "unittest";
|
D | overlay_15.dtso | 13 compatible = "unittest-i2c-mux"; 26 compatible = "unittest-i2c-dev";
|
D | overlay_17.dtso | 12 compatible = "unittest";
|
D | overlay_16.dtso | 12 compatible = "unittest";
|
D | overlay_19.dtso | 12 compatible = "unittest";
|
D | overlay_20.dtso | 12 compatible = "unittest";
|
D | overlay_18.dtso | 12 compatible = "unittest";
|
/linux-6.12.1/Documentation/translations/zh_CN/devicetree/ |
D | of_unittest.rst | 35 设备树源文件(drivers/of/unittest-data/testcases.dts)包含执行drivers/of/unittest.c 38 drivers/of/unittest-data/tests-interrupts.dtsi 39 drivers/of/unittest-data/tests-platform.dtsi 40 drivers/of/unittest-data/tests-phandle.dtsi 41 drivers/of/unittest-data/tests-match.dtsi
|
/linux-6.12.1/Documentation/devicetree/ |
D | of_unittest.rst | 12 This document explains how the test data required for executing OF unittest 30 If unittest detects a problem it will print a warning or error message to 32 kernel code as a result of intentionally bad unittest data. This has led 34 of a test or whether there is a real problem that is independent of unittest. 37 added to unittest to report that a warning or error is expected. The 51 The Device Tree Source file (drivers/of/unittest-data/testcases.dts) contains 53 drivers/of/unittest.c. Currently, following Device Tree Source Include files 56 drivers/of/unittest-data/tests-interrupts.dtsi 57 drivers/of/unittest-data/tests-platform.dtsi 58 drivers/of/unittest-data/tests-phandle.dtsi [all …]
|
/linux-6.12.1/tools/perf/pmu-events/ |
D | metric_test.py | 3 import unittest 11 class TestMetricExpressions(unittest.TestCase): 168 unittest.main()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_bpftool.py | 10 import unittest 66 class TestBpftool(unittest.TestCase):
|
D | test_bpftool.sh | 11 python3 -m unittest -v test_bpftool.TestBpftool
|
/linux-6.12.1/tools/testing/selftests/tpm2/ |
D | tpm2_tests.py | 9 import unittest 13 class SmokeTest(unittest.TestCase): 238 class SpaceTest(unittest.TestCase): 306 class AsyncTest(unittest.TestCase):
|
D | test_space.sh | 9 python3 -m unittest -v tpm2_tests.SpaceTest 2>&1
|
D | test_async.sh | 10 python3 -m unittest -v tpm2_tests.AsyncTest 2>&1
|
D | test_smoke.sh | 11 python3 -m unittest -v tpm2_tests.SmokeTest 2>&1
|
/linux-6.12.1/tools/testing/kunit/ |
D | kunit_tool_test.py | 9 import unittest 10 from unittest import mock 41 class KconfigTest(unittest.TestCase): 82 class KUnitParserTest(unittest.TestCase): 368 class LineStreamTest(unittest.TestCase): 404 class LinuxSourceTreeTest(unittest.TestCase): 540 class KUnitJsonTest(unittest.TestCase): 585 class KUnitMainTest(unittest.TestCase): 847 unittest.main()
|
12