]> git.dujemihanovic.xyz Git - u-boot.git/commit
test/py: tpm2: Skip tpm pytest based on env variable
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Fri, 23 Jul 2021 12:18:26 +0000 (06:18 -0600)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 28 Sep 2021 15:50:55 +0000 (18:50 +0300)
commit577e45f36f7602905ea9fff3f7f14c33cc60e689
treee8654975ca965cbde03becbfca8f653193459cfc
parentc74d0ae519e4b65a195d49d00c562ff7fe86c906
test/py: tpm2: Skip tpm pytest based on env variable

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@xilinx.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
test/py/tests/test_tpm2.py