[PATCH 0/8] re-work the syntaxcheck test

Colin King colin.king at canonical.com
Wed Feb 27 14:40:46 UTC 2013


From: Colin Ian King <colin.king at canonical.com>

The syntaxcheck sometimes gets out of sync with the ACPICA compiler
in the 1-to-1 mapping of error values to the fwts advice information.
This patchset re-works the syntaxcheck test to map addice info onto the
symbolic error names rather than the error codes (since these can change).

Also, re-work the output so we differentiate between error levels and add
a few more error advice information into the json database.

Colin Ian King (8):
  acpi: syntaxcheck: reformat warning messages
  acpi: syntaxcheck: add in extra error level messages
  acpi: syntaxcheck: re-work IASL error mappings
  data: syntaxcheck: remove redundant error code
  acpi: syntaxcheck: add helpers to convert error_code
  acpi: syntaxcheck: issue error messages depending on error level
  acpi: syntaxcheck: add some more per-table information in log
  data: syntaxcheck: add a few more advice entries

 data/syntaxcheck.json              |  54 ++----
 src/Makefile.am                    |   1 +
 src/acpi/syntaxcheck/syntaxcheck.c | 332 +++++++++++++++++++++++++++++++------
 3 files changed, 296 insertions(+), 91 deletions(-)

-- 
1.8.1.2




More information about the fwts-devel mailing list