commit | e8ed0854d78e6741478c329615ebcb26e170b1fd | [log] [tgz] |
---|---|---|
author | Philip Tricca <philip.b.tricca@intel.com> | Sun Jun 18 15:11:50 2017 -0700 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Wed Jul 05 13:12:20 2017 -0700 |
tree | 000634a330798f4fc0d19eb23c35a976de921240 | |
parent | a8fdb2b998e27b5d614d8ce8403cffadad501f06 [diff] |
build: Add integration test harness. All tests with the '.int' extension will now be run through the new test "log compiler" script. configure.ac will now accept the option --with-simulatorbin expecting a path to the simulator. This will be passed into the Makefile and eventually to the integration test log compiler. This script will instantiate an instance of the simulator for each test using the binary passed to the configure script. Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
This stack consists of the following layers from top to bottom:
Since the FAPI and ESAPI haven't been implemented yet, this repository only contains the SAPI and layers below it, plus a test application for exercising the SAPI.
The test application, tpmclient, tests many of the commands against the TPM 2.0 simulator. The tpmclient application can be altered and used as a sandbox to test and develop any TPM 2.0 command sequences, and provides an excellent development and learning vehicle.
TPM 2.0 specifications can be found at Trusted Computing Group.