595736f2120e594839d6e73cb8245d8d7e5c2360 |
|
18-Sep-2015 |
Vadim Bendebury <vbendeb@chromium.org> |
generator: modify the scripts to process HTML sources The scripts scraping TPM2 specification are being changed to use the specification directly (in HTML forms). The existing modules (command_generator and structure_generator) are being modified to provide the 'back end processing' for the data retrieved by the new scraper (extract_structures and tpm_table). The test is modified to still pass, test_structure_generator.html is the source of test data. README includes instructions how to re-generate the source code. BUG=chromium:501639 TEST=new code generation works fine, the test also passes: $ ./generator/structure_generator_test.py ....... ---------------------------------------------------------------------- Ran 7 tests in 0.007s OK Change-Id: I2a0e925475d4cd2b57528bfe1b162245fc6e0f43 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/300662
/external/tpm2/generator/extract_structures.py
|