Searched refs:unittest (Results  1 – 5 of 5) sorted by relevance
| /linux-4.1.27/Documentation/devicetree/bindings/ | 
| D | unittest.txt | 1 1) OF unittest platform device 3 ** unittest 6 - compatible: must be "unittest" 11 	unittest { 12 		compatible = "unittest"; 16 2) OF unittest i2c adapter platform device 18 ** platform device unittest adapter 21 - compatible: must be unittest-i2c-bus 23 Children nodes contain unittest i2c devices. 26 	unittest-i2c-bus { [all …] 
 | 
| /linux-4.1.27/drivers/of/ | 
| D | unittest.c | 35 #define unittest(result, fmt, ...) ({ \  macro 53 	unittest(np && !strcmp("/testcase-data", np->full_name),  in of_unittest_find_node_by_name() 59 	unittest(!np, "trailing '/' on /testcase-data/ should fail\n");  in of_unittest_find_node_by_name() 62 	unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", np->full_name),  in of_unittest_find_node_by_name() 67 	unittest(np && !strcmp("/testcase-data", np->full_name),  in of_unittest_find_node_by_name() 73 	unittest(!np, "trailing '/' on testcase-alias/ should fail\n");  in of_unittest_find_node_by_name() 76 	unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", np->full_name),  in of_unittest_find_node_by_name() 81 	unittest(!np, "non-existent path returned node %s\n", np->full_name);  in of_unittest_find_node_by_name() 85 	unittest(!np, "non-existent alias returned node %s\n", np->full_name);  in of_unittest_find_node_by_name() 89 	unittest(!np, "non-existent alias with relative path returned node %s\n", np->full_name);  in of_unittest_find_node_by_name() [all …] 
 | 
| D | Makefile | 9 obj-$(CONFIG_OF_UNITTEST) += unittest.o 18 obj-$(CONFIG_OF_UNITTEST) += unittest-data/
  | 
| /linux-4.1.27/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 …] 
 | 
| /linux-4.1.27/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
  |