Quoting Brian Paul (2016-05-03 15:50:01)
> On 05/03/2016 03:59 PM, Dylan Baker wrote:
> > This option allows the format of the output string to be modified by
> > passing a command line argument. This allows for specialized formats to
> > be printed for other uses than the original usage that print-commands
> > was designed for.
> 
> Can you give an example of what the --format option would look like?
> 
> I think the help message below ("Format will be called with the {name} 
> will be replaced with the name of the test, and {command} with the test 
> command") is a bit scrambled.
> 
> -Brian
> 
[snip]

Sure, I thought I did, although I did have to do some git reflog magic
because of a bad rebase.

Something like:
./piglit-print-names sanity --format '{name}' > testlist
cat testlist
  [email protected]@readpixel-sanity
./piglit run quick foo -1o --test-list testlist

And I'll rewrite the help message to be more clear. It's a little hard
to explain what it does without writing 15 lines of help message, which
I'm not too keen on.

Dylan

Attachment: signature.asc
Description: signature

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to