diff mbox

[7/8] lib: fwts_summary.c: force non-word wrap using *_verbatum logging

Message ID 1337174425-21531-8-git-send-email-colin.king@canonical.com
State Accepted
Headers show

Commit Message

Colin Ian King May 16, 2012, 1:20 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/lib/src/fwts_summary.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alex Hung May 21, 2012, 2:55 p.m. UTC | #1
On 05/16/2012 09:20 PM, Colin King wrote:
> From: Colin Ian King<colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King<colin.king@canonical.com>
> ---
>   src/lib/src/fwts_summary.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lib/src/fwts_summary.c b/src/lib/src/fwts_summary.c
> index 38d6a79..f6f449a 100644
> --- a/src/lib/src/fwts_summary.c
> +++ b/src/lib/src/fwts_summary.c
> @@ -224,7 +224,7 @@ int fwts_summary_report(fwts_framework *fw, fwts_list *test_list)
>   			fwts_list_foreach(item, fwts_summaries[i]) {
>   				fwts_summary_item *summary_item = fwts_list_data(fwts_summary_item *,item);
>   				char *lines = fwts_summary_lines(&summary_item->log_lines);
> -				fwts_log_summary(fw, " %s test, at %d log line%s: %s: %s",
> +				fwts_log_summary_verbatum(fw, " %s test, at %d log line%s: %s: %s",
>   					summary_item->test,
>   					fwts_list_len(&summary_item->log_lines),
>   					fwts_list_len(&summary_item->log_lines)>  1 ? "s" : "",
Acked-by: Alex Hung <alex.hung@canonical.com>
Keng-Yu Lin May 23, 2012, 6:05 a.m. UTC | #2
On Wed, May 16, 2012 at 9:20 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/lib/src/fwts_summary.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lib/src/fwts_summary.c b/src/lib/src/fwts_summary.c
> index 38d6a79..f6f449a 100644
> --- a/src/lib/src/fwts_summary.c
> +++ b/src/lib/src/fwts_summary.c
> @@ -224,7 +224,7 @@ int fwts_summary_report(fwts_framework *fw, fwts_list *test_list)
>                        fwts_list_foreach(item, fwts_summaries[i]) {
>                                fwts_summary_item *summary_item = fwts_list_data(fwts_summary_item *,item);
>                                char *lines = fwts_summary_lines(&summary_item->log_lines);
> -                               fwts_log_summary(fw, " %s test, at %d log line%s: %s: %s",
> +                               fwts_log_summary_verbatum(fw, " %s test, at %d log line%s: %s: %s",
>                                        summary_item->test,
>                                        fwts_list_len(&summary_item->log_lines),
>                                        fwts_list_len(&summary_item->log_lines) > 1 ? "s" : "",
> --
> 1.7.10
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
diff mbox

Patch

diff --git a/src/lib/src/fwts_summary.c b/src/lib/src/fwts_summary.c
index 38d6a79..f6f449a 100644
--- a/src/lib/src/fwts_summary.c
+++ b/src/lib/src/fwts_summary.c
@@ -224,7 +224,7 @@  int fwts_summary_report(fwts_framework *fw, fwts_list *test_list)
 			fwts_list_foreach(item, fwts_summaries[i]) {
 				fwts_summary_item *summary_item = fwts_list_data(fwts_summary_item *,item);
 				char *lines = fwts_summary_lines(&summary_item->log_lines);
-				fwts_log_summary(fw, " %s test, at %d log line%s: %s: %s",
+				fwts_log_summary_verbatum(fw, " %s test, at %d log line%s: %s: %s",
 					summary_item->test,
 					fwts_list_len(&summary_item->log_lines),
 					fwts_list_len(&summary_item->log_lines) > 1 ? "s" : "",