Patchwork [3/3] doc: Add new --filter-error-discard and --filter-error-keep options.

login
register
mail settings
Submitter Colin King
Date Nov. 22, 2012, 4:30 p.m.
Message ID <1353601834-5335-4-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/201082/
State Accepted
Headers show

Comments

Colin King - Nov. 22, 2012, 4:30 p.m.
From: Colin Ian King <colin.king@canonical.com>

Suppose we should add these to the man page too.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 doc/fwts.1 | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Keng-Yu Lin - Nov. 27, 2012, 8:11 a.m.
On Fri, Nov 23, 2012 at 12:30 AM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Suppose we should add these to the man page too.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  doc/fwts.1 | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/doc/fwts.1 b/doc/fwts.1
> index 09eee56..6a9eb91 100644
> --- a/doc/fwts.1
> +++ b/doc/fwts.1
> @@ -95,6 +95,18 @@ Load ACPI tables from output generated from acpidump or from sudo fwts \-\-dump.
>  latter is preferred as fwts \-\-dump is able to dump more tables than acpidump. This
>  allows one to dump tables from one machine and processes them with fwts on another machine.
>  .TP
> +.B \-\-filter\-error\-discard
> +Specifies the errors that one wants to silently ignore.  One supplies a comma sperated
> +list of fwts error message labels that one wants fwts to not report as errors. fwts will
> +run the test but if there is a test failure and the label matches the one supplied in this
> +list fwts will then just ignore this error. This cannot be used with \-\-filter\-error\-keep.
> +.TP
> +.B \-\-filter\-error\-keep
> +Specifies the errors that one wants to keep, all other errors are silently ignored.
> +One supplies a comma sperated list of fwts error message labels that one wants fwts
> +report as errors, other test failures will be not reported and silently ignored.
> +This cannot be used with \-\-filter\-error\-discard.
> +.TP
>  .B \-f, \-\-force\-clean
>  creates a new results log file, rather than just appending to any existing one (default).
>  .TP
> --
> 1.8.0
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Ivan Hu - Nov. 28, 2012, 9:07 a.m.
On 11/23/2012 12:30 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Suppose we should add these to the man page too.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   doc/fwts.1 | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
>
> diff --git a/doc/fwts.1 b/doc/fwts.1
> index 09eee56..6a9eb91 100644
> --- a/doc/fwts.1
> +++ b/doc/fwts.1
> @@ -95,6 +95,18 @@ Load ACPI tables from output generated from acpidump or from sudo fwts \-\-dump.
>   latter is preferred as fwts \-\-dump is able to dump more tables than acpidump. This
>   allows one to dump tables from one machine and processes them with fwts on another machine.
>   .TP
> +.B \-\-filter\-error\-discard
> +Specifies the errors that one wants to silently ignore.  One supplies a comma sperated
> +list of fwts error message labels that one wants fwts to not report as errors. fwts will
> +run the test but if there is a test failure and the label matches the one supplied in this
> +list fwts will then just ignore this error. This cannot be used with \-\-filter\-error\-keep.
> +.TP
> +.B \-\-filter\-error\-keep
> +Specifies the errors that one wants to keep, all other errors are silently ignored.
> +One supplies a comma sperated list of fwts error message labels that one wants fwts
> +report as errors, other test failures will be not reported and silently ignored.
> +This cannot be used with \-\-filter\-error\-discard.
> +.TP
>   .B \-f, \-\-force\-clean
>   creates a new results log file, rather than just appending to any existing one (default).
>   .TP
>
Acked-by: Ivan Hu <ivan.hu@canonical.com>

Patch

diff --git a/doc/fwts.1 b/doc/fwts.1
index 09eee56..6a9eb91 100644
--- a/doc/fwts.1
+++ b/doc/fwts.1
@@ -95,6 +95,18 @@  Load ACPI tables from output generated from acpidump or from sudo fwts \-\-dump.
 latter is preferred as fwts \-\-dump is able to dump more tables than acpidump. This
 allows one to dump tables from one machine and processes them with fwts on another machine.
 .TP
+.B \-\-filter\-error\-discard
+Specifies the errors that one wants to silently ignore.  One supplies a comma sperated
+list of fwts error message labels that one wants fwts to not report as errors. fwts will
+run the test but if there is a test failure and the label matches the one supplied in this
+list fwts will then just ignore this error. This cannot be used with \-\-filter\-error\-keep.
+.TP
+.B \-\-filter\-error\-keep
+Specifies the errors that one wants to keep, all other errors are silently ignored.
+One supplies a comma sperated list of fwts error message labels that one wants fwts
+report as errors, other test failures will be not reported and silently ignored.
+This cannot be used with \-\-filter\-error\-discard.
+.TP
 .B \-f, \-\-force\-clean
 creates a new results log file, rather than just appending to any existing one (default).
 .TP