Re: [PATCH v4l-utils 0/2] v4l2-compliance colors

2019-04-08 Thread Mauro Carvalho Chehab
Em Mon, 8 Apr 2019 16:46:02 +0200 Hans Verkuil escreveu: > On 4/8/19 4:41 PM, Philipp Zabel wrote: > > On Mon, 2019-04-08 at 12:44 +0200, Hans Verkuil wrote (paraphrased): > >> On 4/8/19 12:28 PM, Mauro Carvalho Chehab wrote (paraphrased): > > [...] > [I hate colors] > >>> [I love co

Re: [PATCH v4l-utils 0/2] v4l2-compliance colors

2019-04-08 Thread Hans Verkuil
On 4/8/19 6:10 PM, Mauro Carvalho Chehab wrote: > Em Mon, 8 Apr 2019 12:44:18 +0200 > Hans Verkuil escreveu: > >> On 4/8/19 12:28 PM, Mauro Carvalho Chehab wrote: >>> Em Mon, 8 Apr 2019 11:05:20 +0200 >>> Hans Verkuil escreveu: >>> Hi Philipp, On 4/8/19 10:45 AM, Philipp Zabel

Re: [PATCH v4l-utils 0/2] v4l2-compliance colors

2019-04-08 Thread Mauro Carvalho Chehab
Em Mon, 8 Apr 2019 12:44:18 +0200 Hans Verkuil escreveu: > On 4/8/19 12:28 PM, Mauro Carvalho Chehab wrote: > > Em Mon, 8 Apr 2019 11:05:20 +0200 > > Hans Verkuil escreveu: > > > >> Hi Philipp, > >> > >> On 4/8/19 10:45 AM, Philipp Zabel wrote: > >>> Hi, > >>> > >>> not sure if anybody find

Re: [PATCH v4l-utils 0/2] v4l2-compliance colors

2019-04-08 Thread Hans Verkuil
On 4/8/19 4:41 PM, Philipp Zabel wrote: > On Mon, 2019-04-08 at 12:44 +0200, Hans Verkuil wrote (paraphrased): >> On 4/8/19 12:28 PM, Mauro Carvalho Chehab wrote (paraphrased): > [...] [I hate colors] >>> [I love colors] >> I could live with [compromise] > > Sorry for opening that can of worm

Re: [PATCH v4l-utils 0/2] v4l2-compliance colors

2019-04-08 Thread Philipp Zabel
On Mon, 2019-04-08 at 12:44 +0200, Hans Verkuil wrote (paraphrased): > On 4/8/19 12:28 PM, Mauro Carvalho Chehab wrote (paraphrased): [...] > > > [I hate colors] > > [I love colors] > I could live with [compromise] Sorry for opening that can of worms :-) How about doing something similar to 'ls':

Re: [PATCH v4l-utils 0/2] v4l2-compliance colors

2019-04-08 Thread Hans Verkuil
On 4/8/19 12:28 PM, Mauro Carvalho Chehab wrote: > Em Mon, 8 Apr 2019 11:05:20 +0200 > Hans Verkuil escreveu: > >> Hi Philipp, >> >> On 4/8/19 10:45 AM, Philipp Zabel wrote: >>> Hi, >>> >>> not sure if anybody finds this as useful as I do to spot compliance >>> failures and warnings in a sea of O

Re: [PATCH v4l-utils 0/2] v4l2-compliance colors

2019-04-08 Thread Mauro Carvalho Chehab
Em Mon, 8 Apr 2019 11:05:20 +0200 Hans Verkuil escreveu: > Hi Philipp, > > On 4/8/19 10:45 AM, Philipp Zabel wrote: > > Hi, > > > > not sure if anybody finds this as useful as I do to spot compliance > > failures and warnings in a sea of OKs more easily, but this patch adds > > some color escap

Re: [PATCH v4l-utils 0/2] v4l2-compliance colors

2019-04-08 Thread Hans Verkuil
Hi Philipp, On 4/8/19 10:45 AM, Philipp Zabel wrote: > Hi, > > not sure if anybody finds this as useful as I do to spot compliance > failures and warnings in a sea of OKs more easily, but this patch adds > some color escape codes to the output of v4l2-compliance. It marks "OK" > green, "warn" bol

[PATCH v4l-utils 0/2] v4l2-compliance colors

2019-04-08 Thread Philipp Zabel
Hi, not sure if anybody finds this as useful as I do to spot compliance failures and warnings in a sea of OKs more easily, but this patch adds some color escape codes to the output of v4l2-compliance. It marks "OK" green, "warn" bold, and "fail" / "FAIL" bright red if the output is a terminal. I w