mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-26 22:01:10 +00:00
binman: Renumber 277_rockchip and 278_mkimage test files
These have ended up with the same numbers as earlier files. Fix them. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
efda8ab201
commit
176f1f68fa
@ -6683,18 +6683,18 @@ fdt fdtmap Extract the devicetree blob from the fdtmap
|
||||
|
||||
def testPackRockchipTpl(self):
|
||||
"""Test that an image with a Rockchip TPL binary can be created"""
|
||||
data = self._DoReadFile('277_rockchip_tpl.dts')
|
||||
data = self._DoReadFile('291_rockchip_tpl.dts')
|
||||
self.assertEqual(ROCKCHIP_TPL_DATA, data[:len(ROCKCHIP_TPL_DATA)])
|
||||
|
||||
def testMkimageMissingBlobMultiple(self):
|
||||
"""Test missing blob with mkimage entry and multiple-data-files"""
|
||||
with test_util.capture_sys_output() as (stdout, stderr):
|
||||
self._DoTestFile('278_mkimage_missing_multiple.dts', allow_missing=True)
|
||||
self._DoTestFile('292_mkimage_missing_multiple.dts', allow_missing=True)
|
||||
err = stderr.getvalue()
|
||||
self.assertIn("is missing external blobs and is non-functional", err)
|
||||
|
||||
with self.assertRaises(ValueError) as e:
|
||||
self._DoTestFile('278_mkimage_missing_multiple.dts', allow_missing=False)
|
||||
self._DoTestFile('292_mkimage_missing_multiple.dts', allow_missing=False)
|
||||
self.assertIn("not found in input path", str(e.exception))
|
||||
|
||||
def _PrepareSignEnv(self, dts='280_fit_sign.dts'):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user