0d6ade2547
This patch adds a group of testcases to check that dtc correctly rejects trees with various structural errors. To make things easier to test, we change dtc so that failing checks (as opposed to other errors) result in exit code 2. This patch also fixes an embarrasing bug uncovered by these new tests: check_phandles() worked out if the tree's phandles were valid, then throws that information away and returns success always. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
6 lines
32 B
Text
6 lines
32 B
Text
/dts-v1/;
|
|
|
|
/ {
|
|
prop;
|
|
prop;
|
|
};
|