From patchwork Wed Feb 27 14:40:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [7/8] acpi: syntaxcheck: add some more per-table information in log Date: Wed, 27 Feb 2013 04:40:53 -0000 From: Colin King X-Patchwork-Id: 223619 Message-Id: <1361976054-28357-8-git-send-email-colin.king@canonical.com> To: fwts-devel@lists.ubuntu.com From: Colin Ian King Currently it is hard to see where the per-table tests start and end so add a heading and some more newlines to make it easier to see in the log. Signed-off-by: Colin Ian King Acked-by: Alex Hung Acked-by: Keng-Yu Lin --- src/acpi/syntaxcheck/syntaxcheck.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/acpi/syntaxcheck/syntaxcheck.c b/src/acpi/syntaxcheck/syntaxcheck.c index 185f43a..5d0ae6c 100644 --- a/src/acpi/syntaxcheck/syntaxcheck.c +++ b/src/acpi/syntaxcheck/syntaxcheck.c @@ -451,6 +451,10 @@ static int syntaxcheck_table(fwts_framework *fw, char *tablename, int which) return FWTS_ERROR; } + fwts_log_nl(fw); + fwts_log_info(fw, "Checking ACPI table %s (#%d)", tablename, which); + fwts_log_nl(fw); + if (iasl_errors) { /* Scan error text from assembly */ fwts_list_foreach(item, iasl_errors) { @@ -549,6 +553,8 @@ static int syntaxcheck_table(fwts_framework *fw, char *tablename, int which) } else fwts_passed(fw, "%s (%d) reassembly, Found 0 errors, 0 warnings.", tablename, which); + fwts_log_nl(fw); + return FWTS_OK; }