dtc: Testcase for /include/ directive
This patch adds a testcase for the /include/ directive. It assembles a sample dts file with many /include/ directives at a variety of different lexical / grammatical contexts. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
committed by
Jon Loeliger
parent
f8bf4bfc87
commit
f8e52fe6d8
@@ -206,6 +206,10 @@ dtc_tests () {
|
||||
run_dtc_test -I dts -O dtb -o dtc_comments-cmp.test.dtb comments-cmp.dts
|
||||
run_test dtbs_equal_ordered dtc_comments.test.dtb dtc_comments-cmp.test.dtb
|
||||
|
||||
# Check /include/ directive
|
||||
run_dtc_test -I dts -O dtb -o includes.test.dtb include0.dts
|
||||
run_test dtbs_equal_ordered includes.test.dtb test_tree1.dtb
|
||||
|
||||
# Check /incbin/ directive
|
||||
run_dtc_test -I dts -O dtb -o incbin.test.dtb incbin.dts
|
||||
run_test incbin incbin.test.dtb
|
||||
|
||||
Reference in New Issue
Block a user