[PATCH] Ignore random output from Asan tests in dg-cmp-results

Thomas Preudhomme thomas.preudhomme@foss.arm.com
Mon Jul 10 09:32:00 GMT 2017


Hi Yuri,

On 09/07/17 20:06, Yuri Gribov wrote:
> Hi,
> 
> Currently dg-cmp-results fails to compare fails in Asan tests because
> their output includes failing process id:
> NA->FAIL: c-c++-common/asan/bitfield-1.c   -O0  output pattern test,
> is ==18161==ERROR
> FAIL->NA: c-c++-common/asan/bitfield-1.c   -O0  output pattern test,
> is ==26667==ERROR
> 
> This patch fixes this. I also did some fairly standard refactoring to
> improve stability and get rid of code dup.

I'm not familiar with asan but why not fix asan tests to not print the pid instead?

Best regards,

Thomas



More information about the Gcc-patches mailing list