binman: ftest: pass allow_fake_blob to _DoReadFileDtb
authorYannic Moog <y.moog@phytec.de>
Fri, 13 Jun 2025 12:02:44 +0000 (14:02 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 26 Jun 2025 15:54:05 +0000 (09:54 -0600)
commite749d64b4622806072c56a839cf9a36a5081b575
tree32ed2676090b5c19f7e259c3d2c1dc4e0fc5daa7
parentf5817e05efd39dd455c2e6a0f0622d709fe7ea2d
binman: ftest: pass allow_fake_blob to _DoReadFileDtb

Some test cases don't use _DoTestFile directly which accepts
allow_fake_blobs. However, they specifically test functionality that
requires external blobs not to be faked. Extend the _DoReadFileDtb
signature to allow passing that option to _DoTestFile.

Also fix tests that require non-faked ext blobs.
By default, external blobs are faked. Some tests care only about more
basic functionality. In those cases no external blobs should be faked.
That would trigger a different (binman) case which is not in scope for
those particular tests.
Thus, disable faked blobs for those test cases.

Signed-off-by: Yannic Moog <y.moog@phytec.de>
Reviewed-by: Bryan Brattlof <bb@ti.com>
tools/binman/ftest.py