mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
tests: Add tests cases for the overlay code
Add some test infrastructure to test that the overlay can be merged, but also that poorly formatted fixups would fail as expected. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> [dwg: Don't execute bad overlay tests without overlay aware dtc] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
0cdd06c513
commit
aea8860d83
17 changed files with 656 additions and 1 deletions
14
tests/overlay_bad_fixup_bad_index.dts
Normal file
14
tests/overlay_bad_fixup_bad_index.dts
Normal file
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Copyright (c) 2016 NextThing Co
|
||||
* Copyright (c) 2016 Free Electrons
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
/include/ "overlay_bad_fixup_base.dtsi"
|
||||
|
||||
/ {
|
||||
__fixups__ {
|
||||
test = "/fragment@0:target:ab";
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue