Searched refs:unittest (Results 1 – 16 of 16) sorted by relevance
| /Linux-v5.4/drivers/staging/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 | example_test.c | 48 unittest(dev.item != 11, "negative result\n"); in test0() 49 unittest(dev.item == 10, "positive result\n"); in test0()
|
| D | unittest.h | 32 #define unittest(result, fmt, ...) ({ \ macro
|
| /Linux-v5.4/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-v5.4/drivers/of/ |
| D | unittest.c | 36 #define unittest(result, fmt, ...) ({ \ macro 55 unittest(np && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name() 62 unittest(!np, "trailing '/' on /testcase-data/ should fail\n"); in of_unittest_find_node_by_name() 66 unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", name), in of_unittest_find_node_by_name() 73 unittest(np && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name() 80 unittest(!np, "trailing '/' on testcase-alias/ should fail\n"); in of_unittest_find_node_by_name() 84 unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", name), in of_unittest_find_node_by_name() 90 unittest(!np, "non-existent path returned node %pOF\n", np); in of_unittest_find_node_by_name() 94 unittest(!np, "non-existent alias returned node %pOF\n", np); in of_unittest_find_node_by_name() 98 unittest(!np, "non-existent alias with relative path returned node %pOF\n", np); in of_unittest_find_node_by_name() [all …]
|
| D | Makefile | 11 obj-$(CONFIG_OF_UNITTEST) += unittest.o 18 obj-$(CONFIG_OF_UNITTEST) += unittest-data/
|
| /Linux-v5.4/drivers/of/unittest-data/ |
| D | tests-overlay.dtsi | 14 compatible = "unittest"; 20 compatible = "unittest"; 26 compatible = "unittest"; 32 compatible = "unittest"; 38 compatible = "unittest"; 44 compatible = "unittest"; 50 compatible = "unittest"; 56 compatible = "unittest"; 62 compatible = "unittest"; 68 compatible = "unittest"; [all …]
|
| D | overlay_11.dts | 14 compatible = "unittest"; 22 compatible = "unittest";
|
| D | overlay_10.dts | 14 compatible = "unittest"; 22 compatible = "unittest";
|
| D | overlay_15.dts | 12 compatible = "unittest-i2c-mux"; 25 compatible = "unittest-i2c-dev";
|
| D | overlay_4.dts | 14 compatible = "unittest";
|
| /Linux-v5.4/Documentation/devicetree/ |
| D | of_unittest.txt | 8 This document explains how the test data required for executing OF unittest 25 The Device Tree Source file (drivers/of/unittest-data/testcases.dts) contains 27 drivers/of/unittest.c. Currently, following Device Tree Source Include files 30 drivers/of/unittest-data/tests-interrupts.dtsi 31 drivers/of/unittest-data/tests-platform.dtsi 32 drivers/of/unittest-data/tests-phandle.dtsi 33 drivers/of/unittest-data/tests-match.dtsi 101 Before executing OF unittest, it is required to attach the test data to
|
| /Linux-v5.4/tools/testing/selftests/tpm2/ |
| D | test_smoke.sh | 4 python -m unittest -v tpm2_tests.SmokeTest
|
| D | test_space.sh | 4 python -m unittest -v tpm2_tests.SpaceTest
|
| D | tpm2_tests.py | 9 import unittest 13 class SmokeTest(unittest.TestCase): 224 class SpaceTest(unittest.TestCase):
|
| D | tpm2.py | 8 import unittest
|