From: Martin Liska Date: Mon, 2 Jul 2018 14:54:07 +0000 (+0200) Subject: Fix GCOV scan pattern (PR testsuite/86366). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1234faf487fdfa79bbb9e0f0e305cce08b676aea;p=gcc.git Fix GCOV scan pattern (PR testsuite/86366). 2018-07-02 Martin Liska PR testsuite/86366 * gcc.dg/profile-dir-1.c: Fix scanned pattern. * gcc.dg/profile-dir-2.c: Likewise. * gcc.dg/profile-dir-3.c: Likewise. From-SVN: r262311 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ce39a8285c8..b4eabd97529 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2018-07-02 Martin Liska + + PR testsuite/86366 + * gcc.dg/profile-dir-1.c: Fix scanned pattern. + * gcc.dg/profile-dir-2.c: Likewise. + * gcc.dg/profile-dir-3.c: Likewise. + 2018-07-02 Christophe Lyon * gcc.target/arm/arm-soft-strd-even.c: Skip if -mfloat-abi is diff --git a/gcc/testsuite/gcc.dg/profile-dir-1.c b/gcc/testsuite/gcc.dg/profile-dir-1.c index df49e2361f4..01269f99902 100644 --- a/gcc/testsuite/gcc.dg/profile-dir-1.c +++ b/gcc/testsuite/gcc.dg/profile-dir-1.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-profiling "-fprofile-generate" } */ /* { dg-options "-O -fprofile-generate=. -fdump-ipa-cgraph" } */ -/* { dg-final { scan-ipa-dump " ./profile-dir-1.gcda" "cgraph" } } */ +/* { dg-final { scan-ipa-dump "Using data file \.\/.*#profile-dir-1.gcda" "cgraph" } } */ int main(void) diff --git a/gcc/testsuite/gcc.dg/profile-dir-2.c b/gcc/testsuite/gcc.dg/profile-dir-2.c index 004ba0b0905..13081ce253f 100644 --- a/gcc/testsuite/gcc.dg/profile-dir-2.c +++ b/gcc/testsuite/gcc.dg/profile-dir-2.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-profiling "-fprofile-generate" } */ /* { dg-options "-O -fprofile-generate -fdump-ipa-cgraph" } */ -/* { dg-final { scan-ipa-dump "/profile-dir-2.gcda" "cgraph" } } */ +/* { dg-final { scan-ipa-dump "Using data file .*\/profile-dir-2.gcda" "cgraph" } } */ int main(void) diff --git a/gcc/testsuite/gcc.dg/profile-dir-3.c b/gcc/testsuite/gcc.dg/profile-dir-3.c index 6b47807d850..21f975a93e9 100644 --- a/gcc/testsuite/gcc.dg/profile-dir-3.c +++ b/gcc/testsuite/gcc.dg/profile-dir-3.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-profiling "-fprofile-generate" } */ /* { dg-options "-O -fprofile-generate -fprofile-dir=. -fdump-ipa-cgraph" } */ -/* { dg-final { scan-ipa-dump " ./profile-dir-3.gcda" "cgraph" } } */ +/* { dg-final { scan-ipa-dump "Using data file \.\/.*#profile-dir-3.gcda" "cgraph" } } */ int main(void)