diff options
author | Tom Rini <trini@konsulko.com> | 2022-01-13 07:34:27 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-13 07:34:27 -0500 |
commit | 37b876359fbd90434b37527fa96f72a31af20f81 (patch) | |
tree | 3a8d677b0e1f0038d84aca54986047968e27b007 /tools/binman/ftest.py | |
parent | a02af84e03e018d7cd08bb3070cbe5517004712b (diff) | |
parent | 6e4a7eaf7d6c9aedafa19aa57553ae44dba5ca0d (diff) |
Merge branch '2022-01-12-assorted-updates'
- Fix binman fake blob support to write outside source directory
- Azure now has stages in the pipeline
- Update to latest focal tag for containers in CI.
- Finish dropping LynxOS
- Add migration message for timer code
Diffstat (limited to 'tools/binman/ftest.py')
-rw-r--r-- | tools/binman/ftest.py | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index a9b7880f362..f4ff7b65831 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@ -4667,16 +4667,6 @@ class TestFunctional(unittest.TestCase): str(e.exception), "Not enough space in '.*u_boot_binman_embed_sm' for data length.*") - def testFakeBlob(self): - """Test handling of faking an external blob""" - with test_util.capture_sys_output() as (stdout, stderr): - self._DoTestFile('203_fake_blob.dts', allow_missing=True, - allow_fake_blobs=True) - err = stderr.getvalue() - self.assertRegex(err, - "Image '.*' has faked external blobs and is non-functional: .*") - os.remove('binman_faking_test_blob') - def testVersion(self): """Test we can get the binman version""" version = '(unreleased)' @@ -4965,5 +4955,16 @@ fdt fdtmap Extract the devicetree blob from the fdtmap # There should be a U-Boot after the final FIP self.assertEqual(U_BOOT_DATA, data[-4:]) + def testFakeBlob(self): + """Test handling of faking an external blob""" + with test_util.capture_sys_output() as (stdout, stderr): + self._DoTestFile('217_fake_blob.dts', allow_missing=True, + allow_fake_blobs=True) + err = stderr.getvalue() + self.assertRegex( + err, + "Image '.*' has faked external blobs and is non-functional: .*") + + if __name__ == "__main__": unittest.main() |