diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2023-07-18 20:34:39 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-08-02 12:05:57 -0600 |
commit | 8f452bc557e7e8bd0d2f82663fdca1a180c75a9f (patch) | |
tree | a3c421b2ce88e9133f07c12c163dbe8bc6fd9820 /tools/binman/ftest.py | |
parent | c2600155afcbb0160fc468ee7055fd61d82f3cf0 (diff) |
binman: Show filename in missing blob help message
Show the filename next to the node path in missing blob help messages,
also show a generic missing blob message when there was no help message
for the help tag.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/ftest.py')
-rw-r--r-- | tools/binman/ftest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index a5ce44bbb2d..0e026ecc31a 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@ -3806,6 +3806,7 @@ class TestFunctional(unittest.TestCase): allow_missing=True) self.assertEqual(103, ret) err = stderr.getvalue() + self.assertIn('(missing-file)', err) self.assertRegex(err, "Image 'image'.*missing.*: blob-ext") self.assertIn('Some images are invalid', err) @@ -3816,6 +3817,7 @@ class TestFunctional(unittest.TestCase): allow_missing=True, ignore_missing=True) self.assertEqual(0, ret) err = stderr.getvalue() + self.assertIn('(missing-file)', err) self.assertRegex(err, "Image 'image'.*missing.*: blob-ext") self.assertIn('Some images are invalid', err) |