Re: [PATCH] selftests/tpm2: Install run-time Python modules

From: Jarkko Sakkinen
Date: Thu Jun 20 2019 - 17:40:29 EST


On Thu, Jun 20, 2019 at 08:18:19AM -0500, Daniel Díaz wrote:
> When ordinarily running the tests, upon `make install', the
> following error is encountered:
> ImportError: No module named tpm2_tests
> because the Python files are not installed at the moment.
>
> Fix this by adding both Python modules as accompanying
> TEST_FILES in the Makefile.
>
> Signed-off-by: Daniel Díaz <daniel.diaz@xxxxxxxxxx>

Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>

Question the kselftests maintainers: can I take this to [1] and
include to my 5.3 PR?

[1] git://git.infradead.org/users/jjs/linux-tpmdd.git

/Jarkko