tests: Fix overlay_overlay_nosugar test case
This test was accidentally skipped as the wrong test dts file was built. The fragment numbering in this sugar-free test case needed adjusting to match the numbering generated by dtc for overlay_overlay.dts. Signed-off-by: Paul Barker <pbarker@konsulko.com> Message-Id: <20201219143521.2118-1-pbarker@konsulko.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
parent
7cd5d5fe43
commit
f7e5737f26
|
@ -48,7 +48,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fragment@5 {
|
fragment@4 {
|
||||||
target = <&test>;
|
target = <&test>;
|
||||||
|
|
||||||
__overlay__ {
|
__overlay__ {
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fragment@6 {
|
fragment@5 {
|
||||||
target = <&test>;
|
target = <&test>;
|
||||||
|
|
||||||
__overlay__ {
|
__overlay__ {
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fragment@7 {
|
fragment@6 {
|
||||||
target = <&test>;
|
target = <&test>;
|
||||||
|
|
||||||
__overlay__ {
|
__overlay__ {
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fragment@8 {
|
fragment@7 {
|
||||||
target = <&test>;
|
target = <&test>;
|
||||||
|
|
||||||
__overlay__ {
|
__overlay__ {
|
||||||
|
|
|
@ -288,7 +288,7 @@ dtc_overlay_tests () {
|
||||||
run_test check_path overlay_overlay.test.dtb exists "/__local_fixups__"
|
run_test check_path overlay_overlay.test.dtb exists "/__local_fixups__"
|
||||||
|
|
||||||
# Without syntactic sugar
|
# Without syntactic sugar
|
||||||
run_dtc_test -I dts -O dtb -o overlay_overlay_nosugar.test.dtb "$SRCDIR/overlay_overlay.dts"
|
run_dtc_test -I dts -O dtb -o overlay_overlay_nosugar.test.dtb "$SRCDIR/overlay_overlay_nosugar.dts"
|
||||||
run_test check_path overlay_overlay_nosugar.test.dtb not-exists "/__symbols__"
|
run_test check_path overlay_overlay_nosugar.test.dtb not-exists "/__symbols__"
|
||||||
run_test check_path overlay_overlay_nosugar.test.dtb exists "/__fixups__"
|
run_test check_path overlay_overlay_nosugar.test.dtb exists "/__fixups__"
|
||||||
run_test check_path overlay_overlay_nosugar.test.dtb exists "/__local_fixups__"
|
run_test check_path overlay_overlay_nosugar.test.dtb exists "/__local_fixups__"
|
||||||
|
|
Loading…
Reference in New Issue