Re: [PATCH] Make ubsan tests less picky about ansi escape codes in diagnostics.

2015-09-09 Thread Jonathan Roelofs
On 9/9/15 9:20 AM, Andrew Pinski wrote: On Wed, Sep 9, 2015 at 11:11 PM, Mike Stump wrote: On Sep 3, 2015, at 9:45 AM, Jonathan Roelofs wrote: Moral of the story is: these tests fail in our environment, but only because the regexes do not expect the presence of the ansi color codes, and we

Re: [PATCH] Make ubsan tests less picky about ansi escape codes in diagnostics.

2015-09-09 Thread Andrew Pinski
On Wed, Sep 9, 2015 at 11:11 PM, Mike Stump wrote: > On Sep 3, 2015, at 9:45 AM, Jonathan Roelofs > wrote: >> Moral of the story is: these tests fail in our environment, but only because >> the regexes do not expect the presence of the ansi color codes, and we can't >> trick the runtime into n

Re: [PATCH] Make ubsan tests less picky about ansi escape codes in diagnostics.

2015-09-09 Thread Mike Stump
On Sep 3, 2015, at 9:45 AM, Jonathan Roelofs wrote: > Moral of the story is: these tests fail in our environment, but only because > the regexes do not expect the presence of the ansi color codes, and we can't > trick the runtime into not emitting them. When the user says, I don’t want color; i

Re: [PATCH] Make ubsan tests less picky about ansi escape codes in diagnostics.

2015-09-09 Thread Maxim Ostapenko
On 09/09/15 01:15, Jonathan Roelofs wrote: On 9/4/15 12:20 AM, Yury Gribov wrote: On 09/03/2015 07:45 PM, Jonathan Roelofs wrote: On 9/3/15 10:17 AM, Jakub Jelinek wrote: On Thu, Sep 03, 2015 at 10:15:02AM -0600, Jonathan Roelofs wrote: +kcc, mrs Ping On 8/27/15 4:44 PM, Jonathan Roelof

Re: [PATCH] Make ubsan tests less picky about ansi escape codes in diagnostics.

2015-09-08 Thread Jonathan Roelofs
On 9/4/15 12:20 AM, Yury Gribov wrote: On 09/03/2015 07:45 PM, Jonathan Roelofs wrote: On 9/3/15 10:17 AM, Jakub Jelinek wrote: On Thu, Sep 03, 2015 at 10:15:02AM -0600, Jonathan Roelofs wrote: +kcc, mrs Ping On 8/27/15 4:44 PM, Jonathan Roelofs wrote: The attached patch makes the ubsan

Re: [PATCH] Make ubsan tests less picky about ansi escape codes in diagnostics.

2015-09-03 Thread Yury Gribov
On 09/03/2015 07:45 PM, Jonathan Roelofs wrote: On 9/3/15 10:17 AM, Jakub Jelinek wrote: On Thu, Sep 03, 2015 at 10:15:02AM -0600, Jonathan Roelofs wrote: +kcc, mrs Ping On 8/27/15 4:44 PM, Jonathan Roelofs wrote: The attached patch makes the ubsan tests agnostic to ansi escape codes in th

Re: [PATCH] Make ubsan tests less picky about ansi escape codes in diagnostics.

2015-09-03 Thread Jonathan Roelofs
On 9/3/15 10:45 AM, Jonathan Roelofs wrote: On 9/3/15 10:17 AM, Jakub Jelinek wrote: On Thu, Sep 03, 2015 at 10:15:02AM -0600, Jonathan Roelofs wrote: +kcc, mrs Ping On 8/27/15 4:44 PM, Jonathan Roelofs wrote: The attached patch makes the ubsan tests agnostic to ansi escape codes in thei

Re: [PATCH] Make ubsan tests less picky about ansi escape codes in diagnostics.

2015-09-03 Thread Jonathan Roelofs
On 9/3/15 10:17 AM, Jakub Jelinek wrote: On Thu, Sep 03, 2015 at 10:15:02AM -0600, Jonathan Roelofs wrote: +kcc, mrs Ping On 8/27/15 4:44 PM, Jonathan Roelofs wrote: The attached patch makes the ubsan tests agnostic to ansi escape codes in their diagnostic output. It wouldn't hurt if you

Re: [PATCH] Make ubsan tests less picky about ansi escape codes in diagnostics.

2015-09-03 Thread Jakub Jelinek
On Thu, Sep 03, 2015 at 10:15:02AM -0600, Jonathan Roelofs wrote: > +kcc, mrs > > Ping > > On 8/27/15 4:44 PM, Jonathan Roelofs wrote: > >The attached patch makes the ubsan tests agnostic to ansi escape codes > >in their diagnostic output. It wouldn't hurt if you explained in detail what is the

Re: [PATCH] Make ubsan tests less picky about ansi escape codes in diagnostics.

2015-09-03 Thread Jonathan Roelofs
+kcc, mrs Ping On 8/27/15 4:44 PM, Jonathan Roelofs wrote: The attached patch makes the ubsan tests agnostic to ansi escape codes in their diagnostic output. Tested on an x86_64-linux-gnu target. 2015-08-27 Jonathan Roelofs * c-c++-common/ubsan/align-2.c: Don't be picky

[PATCH] Make ubsan tests less picky about ansi escape codes in diagnostics.

2015-08-27 Thread Jonathan Roelofs
The attached patch makes the ubsan tests agnostic to ansi escape codes in their diagnostic output. Tested on an x86_64-linux-gnu target. 2015-08-27 Jonathan Roelofs * c-c++-common/ubsan/align-2.c: Don't be picky about ansi escape codes in diagnostics. * c-c++