Messages in this thread Patch in this message | | | From | Daniel Díaz <> | Subject | [PATCH] selftests/tpm2: Install run-time Python modules | Date | Thu, 20 Jun 2019 08:18:19 -0500 |
| |
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@linaro.org> --- tools/testing/selftests/tpm2/Makefile | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/tpm2/Makefile b/tools/testing/selftests/tpm2/Makefile index 9dd848427a7b..bf401f725eef 100644 --- a/tools/testing/selftests/tpm2/Makefile +++ b/tools/testing/selftests/tpm2/Makefile @@ -2,3 +2,4 @@ include ../lib.mk TEST_PROGS := test_smoke.sh test_space.sh +TEST_FILES := tpm2.py tpm2_tests.py -- 2.20.1
| |