This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Ignore random output from Asan tests in dg-cmp-results
- From: Thomas Preudhomme <thomas dot preudhomme at foss dot arm dot com>
- To: Yuri Gribov <tetra2005 at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 10 Jul 2017 10:32:11 +0100
- Subject: Re: [PATCH] Ignore random output from Asan tests in dg-cmp-results
- Authentication-results: sourceware.org; auth=none
- References: <CAJOtW+5ixkYJzN7ieaEDfkwQex0j+k0qjhYOA_-GwPked-iY-w@mail.gmail.com>
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