diff options
author | Tom Rini <trini@konsulko.com> | 2023-02-14 15:11:37 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-14 15:11:37 -0500 |
commit | 2bfd217a16978794b43f0a30111b7472fba232b6 (patch) | |
tree | dfac18d00740bfc8c29da90e62dfb18765bb2143 /tools/patman/test_checkpatch.py | |
parent | faac9dee8e0629326dc122f4624fc4897e3f38b0 (diff) | |
parent | 9a8a27a76ad7ab51f19c7f019d7cdac8a3f9f3c9 (diff) |
Merge tag 'dm-next-valentine' of https://source.denx.de/u-boot/custodians/u-boot-dm into next
Move U-Boot over to the new schema for driver model tags
Diffstat (limited to 'tools/patman/test_checkpatch.py')
-rw-r--r-- | tools/patman/test_checkpatch.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/patman/test_checkpatch.py b/tools/patman/test_checkpatch.py index 4c2ab6e590..a8bb364e42 100644 --- a/tools/patman/test_checkpatch.py +++ b/tools/patman/test_checkpatch.py @@ -452,6 +452,12 @@ index 0000000..2234c87 self.check_strl("cat"); self.check_strl("cpy"); + def test_schema(self): + """Check for uses of strn(cat|cpy)""" + pm = PatchMaker() + pm.add_line('arch/sandbox/dts/sandbox.dtsi', '\tu-boot,dm-pre-proper;') + self.check_single_message(pm, 'PRE_SCHEMA', 'error') + if __name__ == "__main__": unittest.main() gitutil.RunTests() |