mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
binman: Allow use of help and entry-docs without libfdt
At present if libfdt is not available binman can't do anything much. Improve the situation a little. Ideally there should be a test to cover this, but I'm not quite sure how to fake this. Signed-off-by: Simon Glass <sjg@chromium.org> (fixed up missing ReadChildData() enty test)
This commit is contained in:
@@ -97,6 +97,11 @@ class TestEntry(unittest.TestCase):
|
||||
base = entry.Entry.Create(None, self.GetNode(), 'blob-dtb')
|
||||
self.assertTrue(base.WriteChildData(base))
|
||||
|
||||
def testReadChildData(self):
|
||||
"""Test the ReadChildData() method of the base class"""
|
||||
base = entry.Entry.Create(None, self.GetNode(), 'blob-dtb')
|
||||
self.assertIsNone(base.ReadChildData(base))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
Reference in New Issue
Block a user