[PATCH v7 14/16] test: py: vboot: add test for global image signature

Tom Rini trini at konsulko.com
Sat Mar 26 00:02:05 CET 2022


On Fri, Mar 25, 2022 at 11:54:18PM +0100, Philippe REYNES wrote:
> Hi Tom,
> 
> 
> Le 25/03/2022 à 18:11, Tom Rini a écrit :
> > On Mon, Mar 14, 2022 at 03:57:43PM +0100, Philippe Reynes wrote:
> > 
> > > Adds test units for the pre-load header signature.
> > > 
> > > Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> > > ---
> > >   test/py/tests/test_vboot.py                   | 145 ++++++++++++++++--
> > >   test/py/tests/vboot/sandbox-binman-pss.dts    |  25 +++
> > >   test/py/tests/vboot/sandbox-binman.dts        |  24 +++
> > >   .../tests/vboot/sandbox-u-boot-global-pss.dts |  28 ++++
> > >   test/py/tests/vboot/sandbox-u-boot-global.dts |  27 ++++
> > >   test/py/tests/vboot/simple-images.its         |  36 +++++
> > >   6 files changed, 269 insertions(+), 16 deletions(-)
> > >   create mode 100644 test/py/tests/vboot/sandbox-binman-pss.dts
> > >   create mode 100644 test/py/tests/vboot/sandbox-binman.dts
> > >   create mode 100644 test/py/tests/vboot/sandbox-u-boot-global-pss.dts
> > >   create mode 100644 test/py/tests/vboot/sandbox-u-boot-global.dts
> > >   create mode 100644 test/py/tests/vboot/simple-images.its
> > This leads to CI failures such as:
> > https://source.denx.de/u-boot/u-boot/-/jobs/412046
> > and I guess maybe we need something new in test/py/requirements.txt
> > maybe?
> 
> I think that this issue should be fixed with this patch :
> 
> https://patchwork.ozlabs.org/project/uboot/patch/20220127140314.10264-2-philippe.reynes@softathome.com/

OK, but that's a rather specific hard-coded path to add, and won't work
in my setup for example since I use mktemp to make the base dir for all
my tests.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220325/f550e7a2/attachment.sig>


More information about the U-Boot mailing list