Skip to contentSkip to conversation

Remove obsolete references_dts0 test

PATCH Applied David Gibson 2 participants 2 messages Feb 23, 2010

lore
Share & tools
lore
#0 lore raw

The only purpose of the dtc_references_dts0 testcase was to check handling of references in the old dts v0 syntax. Since we no longer support the old syntax, and the references_dts0.dts has been converted to the new format, it's entirely redundant. This patch removes it.

tests/references_dts0.dts deleted +0 -26
Index: dtc/tests/references_dts0.dts
===================================================================
@@ -1,26 +0,0 @@
-/dts-v1/;
-
-/ {
-	/* Explicit phandles */
-	n1: node1 {
-		linux,phandle = <0x2000>;
-		ref = <&{/node2}>; /* reference precedes target */
-		lref = <&n2>;
-	};
-	n2: node2 {
-		linux,phandle = <0x1>;
-		ref = <&{/node1}>; /* reference after target */
-		lref = <&n1>;
-	};
-
-	/* Implicit phandles */
-	n3: node3 {
-		ref = <&{/node4}>;
-		lref = <&n4>;
-	};
-	n4: node4 {
-	};
-	n5: node5 {
-		linux,phandle = <&n5>;
-	};
-};
tests/run_tests.sh +0 -3
Index: dtc/tests/run_tests.sh
===================================================================
@@ -213,9 +213,6 @@ dtc_tests () {
     run_dtc_test -I dts -O dtb -o dtc_references.test.dtb references.dts
     run_test references dtc_references.test.dtb
 
-    run_dtc_test -I dts -O dtb -o dtc_references_dts0.test.dtb references_dts0.dts
-    run_test references dtc_references_dts0.test.dtb
-
     run_dtc_test -I dts -O dtb -o dtc_path-references.test.dtb path-references.dts
     run_test path-references dtc_path-references.test.dtb
 
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
Applied
#1 lore raw
Quoted 6 lines

The only purpose of the dtc_references_dts0 testcase was to check handling of references in the old dts v0 syntax. Since we no longer support the old syntax, and the references_dts0.dts has been converted to the new format, it's entirely redundant. This patch removes it.

Applied.