summaryrefslogtreecommitdiff
path: root/tests/run_tests.sh
diff options
context:
space:
mode:
authorJohannes Beisswenger <johannes.beisswenger@cetitec.com>2023-04-14 15:17:34 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2023-05-07 18:47:40 +1000
commitf1657b2fb5be12d85ceb6a50d2db8a006dee830c (patch)
treece8459f9beb12885c5d27dac6cd3fe752f0abb13 /tests/run_tests.sh
parent44bb89cafd3d96b8df0f324b652c7bf804b38c05 (diff)
downloaddevice-tree-compiler-f1657b2fb5be12d85ceb6a50d2db8a006dee830c.tar.gz
tests: Add test cases for bad endpoint node and remote-endpoint prop checks
Signed-off-by: Johannes Beisswenger <johannes.beisswenger@cetitec.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/run_tests.sh')
-rwxr-xr-xtests/run_tests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index f899d8c..2af8c15 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -730,6 +730,10 @@ dtc_tests () {
check_tests "$SRCDIR/bad-graph.dts" graph_child_address
check_tests "$SRCDIR/bad-graph.dts" graph_port
check_tests "$SRCDIR/bad-graph.dts" graph_endpoint
+ check_tests "$SRCDIR/bad-graph-root1.dts" graph_nodes
+ check_tests "$SRCDIR/bad-graph-root2.dts" graph_nodes
+ check_tests "$SRCDIR/bad-graph-root3.dts" graph_nodes
+ check_tests "$SRCDIR/bad-graph-root4.dts" graph_nodes
run_sh_test "$SRCDIR/dtc-checkfails.sh" deprecated_gpio_property -- -Wdeprecated_gpio_property -I dts -O dtb "$SRCDIR/bad-gpio.dts"
run_sh_test "$SRCDIR/dtc-checkfails.sh" -n deprecated_gpio_property -- -Wdeprecated_gpio_property -I dts -O dtb "$SRCDIR/good-gpio.dts"
check_tests "$SRCDIR/bad-interrupt-cells.dts" interrupts_property