summaryrefslogtreecommitdiff
path: root/tools/binman/ftest.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-08-26 13:11:43 -0600
committerSimon Glass <sjg@chromium.org>2024-09-26 12:40:31 +0200
commitac0876c890c2dcaa4e21ce36bfa2ea3e02139a01 (patch)
treeb2e250f8fda9d3619de0c0c16c1d853bc4181005 /tools/binman/ftest.py
parenta96dda1a70afc348d472cfb087742604e50b8d46 (diff)
binman: Make a start on an iMX8 test
This patch is for Marek, to provide a starting point. To try it, use 'binman test -T' and see the missing coverage. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/ftest.py')
-rw-r--r--tools/binman/ftest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py
index 58f9d8256e8..e3f231e4bcc 100644
--- a/tools/binman/ftest.py
+++ b/tools/binman/ftest.py
@@ -7800,6 +7800,10 @@ fdt fdtmap Extract the devicetree blob from the fdtmap
self.assertIn('Symbol-writing: no value for /binman/section/u-boot',
out)
+ def testNxpImx8Image(self):
+ """Test that binman can produce an iMX8 image"""
+ self._DoTestFile('339_nxp_imx8.dts')
+
if __name__ == "__main__":
unittest.main()