Re: [PATCH] selftests: add TPM 2.0 tests

From: Petr Vorel
Date: Sun Feb 03 2019 - 17:27:05 EST


Hi Jarkko,

> Added the tests that I've been using for testing TPM 2.0 functionality
> for long time but have out-of-tree so far residing in

> https://github.com/jsakkine-intel/tpm2-scripts

> Cc: Tadeusz Struk <tadeusz.struk@xxxxxxxxx>
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
> Acked-By: Joey Pabalinas <joeypabalinas@xxxxxxxxx>
Reviewed-by: Petr Vorel <petr.vorel@xxxxxxxxx>

> +++ b/tools/testing/selftests/tpm2/Makefile
> @@ -0,0 +1,3 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
> +
> +TEST_PROGS := test_smoke.sh test_space.sh
Maybe include lib.mk, to avoid make No targets error? (well, it's reported for
more tests)

include ../lib.mk

make[1]: Entering directory '/home/pevik/install/src/linux.git/tools/testing/selftests/tpm2'
make[1]: *** No targets. Stop.


Kind regards,
Petr