diff options
author | Grant Likely <grant.likely@linaro.org> | 2014-11-04 16:24:45 +0300 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-11-04 19:43:07 +0300 |
commit | 19fd74879a32fb10357e0cda9c8050f01bb3eeb8 (patch) | |
tree | daa661511b4a8c9f4e7a6d87f18429850c903fa2 /drivers/of/unittest-data/tests-match.dtsi | |
parent | 851da976dc1d72becc03e144b38c4efab9e7b361 (diff) | |
download | linux-19fd74879a32fb10357e0cda9c8050f01bb3eeb8.tar.xz |
of/unittest: Rename selftest.c to unittest.c
This is unit testing code. It should use that name because it makes more
sense than 'selftest'. Rename the files to match and rename the config
variable.
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of/unittest-data/tests-match.dtsi')
-rw-r--r-- | drivers/of/unittest-data/tests-match.dtsi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/of/unittest-data/tests-match.dtsi b/drivers/of/unittest-data/tests-match.dtsi new file mode 100644 index 000000000000..c9e541129534 --- /dev/null +++ b/drivers/of/unittest-data/tests-match.dtsi @@ -0,0 +1,19 @@ + +/ { + testcase-data { + match-node { + name0 { }; + name1 { device_type = "type1"; }; + a { name2 { device_type = "type1"; }; }; + b { name2 { }; }; + c { name2 { device_type = "type2"; }; }; + name3 { compatible = "compat3"; }; + name4 { compatible = "compat2", "compat3"; }; + name5 { compatible = "compat2", "compat3"; }; + name6 { compatible = "compat1", "compat2", "compat3"; }; + name7 { compatible = "compat2"; device_type = "type1"; }; + name8 { compatible = "compat2"; device_type = "type1"; }; + name9 { compatible = "compat2"; }; + }; + }; +}; |