[PATCH] test/py: tpm2: Skip tpm pytest based on env variable

Tom Rini trini at konsulko.com
Fri Sep 24 20:29:16 CEST 2021


On Fri, Jul 23, 2021 at 06:18:26AM -0600, Ashok Reddy Soma wrote:

> From: T Karthik Reddy <t.karthik.reddy at xilinx.com>
> 
> Tpm test cases relies on tpm device setup. Provide an environment
> variable "env__tpm_device_test_skip = True" to skip the test case
> if tpm device is not present.
> Only needed will have to add variable to the py-test framework.
> Test runs successfully even this variable is absent.
> 
> Signed-off-by: T Karthik Reddy <t.karthik.reddy at xilinx.com>
> Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
> Acked-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>

Applied to u-boot/master, thanks!

-- 
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/20210924/33eef0a8/attachment.sig>


More information about the U-Boot mailing list