From 1234faf487fdfa79bbb9e0f0e305cce08b676aea Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 2 Jul 2018 16:54:07 +0200 Subject: 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 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.dg/profile-dir-1.c | 2 +- gcc/testsuite/gcc.dg/profile-dir-2.c | 2 +- gcc/testsuite/gcc.dg/profile-dir-3.c | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) (limited to 'gcc') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ce39a82..b4eabd9 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 df49e23..01269f9 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 004ba0b..13081ce 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 6b47807..21f975a 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) -- cgit v1.1