diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2021-11-15 18:13:10 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2021-11-30 09:23:37 +0100 |
commit | 617270b97ba9d930cf830f41472053ac195a80d4 (patch) | |
tree | db90c6c982c0da1175de1364b8bdffae9e6063a0 /test/py | |
parent | 9d2465347c7cc6997c58409083c8ba18888cc9aa (diff) | |
download | u-boot-617270b97ba9d930cf830f41472053ac195a80d4.zip u-boot-617270b97ba9d930cf830f41472053ac195a80d4.tar.gz u-boot-617270b97ba9d930cf830f41472053ac195a80d4.tar.bz2 |
configs: enable CMD_TPM on QEMU ARM
With TPM emulation enabled in u-boot-test-hooks we should also provide the
tpm2 command used for the test/py/tests/test_tpm2.py test.
One of the Python TPMv2 tests expects sandbox specific values. So disable
it on other platforms.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'test/py')
-rw-r--r-- | test/py/tests/test_tpm2.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/py/tests/test_tpm2.py b/test/py/tests/test_tpm2.py index 7c89f5f..d2ad6f9 100644 --- a/test/py/tests/test_tpm2.py +++ b/test/py/tests/test_tpm2.py @@ -186,6 +186,7 @@ def test_tpm2_change_auth(u_boot_console): u_boot_console.run_command('tpm2 clear TPM2_RH_PLATFORM') assert output.endswith('0') +@pytest.mark.buildconfigspec('sandbox') @pytest.mark.buildconfigspec('cmd_tpm_v2') def test_tpm2_get_capability(u_boot_console): """Execute a TPM_GetCapability command. |