[Piglit] [PATCH 2/6] README: use the piglit command not piglit-* commands

Kenneth Graunke kenneth at whitecape.org
Fri Oct 24 11:30:36 PDT 2014


On Tuesday, October 21, 2014 11:23:45 AM Dylan Baker wrote:
> These are old and maintained as compatibility options, modern
> development should be happening in the unified piglit command anyway.
> 
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>  README | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)
> 
> diff --git a/README b/README
> index 74bdc1d..055e8e4 100644
> --- a/README
> +++ b/README
> @@ -178,17 +178,19 @@ Build from the Visual Studio Command Prompt.
>  
>  Make sure that everything is set up correctly:
>  
> -  $ ./piglit-run.py tests/sanity.tests results/sanity.results
> +  $ ./piglit run tests/sanity.tests results/sanity.results

tests/sanity.tests?  I always just do:

./piglit run sanity results/sanity

(personally, I'd drop the .results too...here and later.  but that's just me.)

>  
>  This will run some minimal tests.  If you built Piglit out-of-source, then 
the
>  environment variable PIGLIT_BUILD_DIR must be set:
>  
>    $ env PIGLIT_BUILD_DIR=/path/to/piglit/build/dir \
> -    ./piglit-run.py tests/sanity.tests results/sanity.results
> +    ./piglit run tests/sanity.tests results/sanity.results

.tests?

>  Use
>  
> -  $ ./piglit-run.py
> +  $ ./piglit run
> +  or
> +  $ ./piglit run -h
>  
>  To learn more about the command's syntax. Have a look into the tests/
>  directory to see what test profiles are available:
> @@ -199,14 +201,14 @@ See also section 4.
>  
>  To create some nice formatted test summaries, run
>  
> -  $ ./piglit-summary-html.py summary/sanity results/sanity.results
> +  $ ./piglit summary html summary/sanity results/sanity.results
>  
>  Hint: You can combine multiple test results into a single summary.
>        During development, you can use this to watch for regressions:
>  
> -  $ ./piglit-summary-html.py summary/compare results/baseline.results 
results/current.results
> +  $ ./piglit summary html summary/compare results/baseline.results 
results/current.results
>  
> -      You can combine as many testruns as you want this way(in theory;
> +      You can combine as many testruns as you want this way (in theory;
>        the HTML layout becomes awkward when the number of testruns 
increases)
>  
>  Have a look at the results with a browser:
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20141024/aa5860bf/attachment.sig>


More information about the Piglit mailing list