[Piglit] [PATCH 1/2] update documentation to be clear about using multiple profiles

Tom Stellard tom at stellard.net
Fri Jan 23 12:54:38 PST 2015


On Fri, Jan 23, 2015 at 12:10:09PM -0800, Dylan Baker wrote:
> Updates README and the help message to be clear about using multiple
> test profiles.
> 

Thanks.

Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>  README                    | 6 +++++-
>  framework/programs/run.py | 6 ++++--
>  2 files changed, 9 insertions(+), 3 deletions(-)
> 
> diff --git a/README b/README
> index ef8b639..9ba0a97 100644
> --- a/README
> +++ b/README
> @@ -209,11 +209,15 @@ Build from the Command Prompt.
>  
>  Make sure that everything is set up correctly:
>  
> -  $ ./piglit run tests/sanity results/sanity.results
> +  $ ./piglit run tests/sanity results/sanity
>  
>  You may include '.py' on the profile, or you may exclude it (sanity vs sanity.py),
>  both are equally valid.
>  
> +You may provide multiple profiles to be run at the same time:
> +  
> +  $ ./piglit run quick_cl gpu deqp-gles3 results/gl-cl-combined
> +
>  Use
>  
>    $ ./piglit run
> diff --git a/framework/programs/run.py b/framework/programs/run.py
> index 89ccd11..9bb4713 100644
> --- a/framework/programs/run.py
> +++ b/framework/programs/run.py
> @@ -183,9 +183,11 @@ def _run_parser(input_):
>      parser.add_argument("--test-list",
>                          help="A file containing a list of tests to run")
>      parser.add_argument("test_profile",
> -                        metavar="<Path to one or more test profile(s)>",
> +                        metavar="<Profile Path(es)",
>                          nargs='+',
> -                        help="Path to testfile to run")
> +                        help="Path to one or more test profiles to run. "
> +                             "If more than one profile is provided then they "
> +                             "will be merged.")
>      parser.add_argument("results_path",
>                          type=path.realpath,
>                          metavar="<Results Path>",
> -- 
> 2.2.2
> 
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list