Fix GCOV scan pattern (PR testsuite/86366).
authorMartin Liska <mliska@suse.cz>
Mon, 2 Jul 2018 14:54:07 +0000 (16:54 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 2 Jul 2018 14:54:07 +0000 (14:54 +0000)
2018-07-02  Martin Liska  <mliska@suse.cz>

        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
gcc/testsuite/gcc.dg/profile-dir-1.c
gcc/testsuite/gcc.dg/profile-dir-2.c
gcc/testsuite/gcc.dg/profile-dir-3.c

index ce39a8285c8162111d5e59644514bd3f669c4cdc..b4eabd975291eccae8158c94c20b3a60396185c6 100644 (file)
@@ -1,3 +1,10 @@
+2018-07-02  Martin Liska  <mliska@suse.cz>
+
+        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  <christophe.lyon@linaro.org>
 
        * gcc.target/arm/arm-soft-strd-even.c: Skip if -mfloat-abi is
index df49e2361f4841aa36c01c7625516e1a412f0b5c..01269f99902939b3ace9feaa05a23b9b99737304 100644 (file)
@@ -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)
index 004ba0b0905e861e5b42500d5b5f9efc1148c419..13081ce253f7e1ff366823a9ac731495a2a91b6e 100644 (file)
@@ -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)
index 6b47807d8503538de2389cdd3d8cb014b5f607c8..21f975a93e95768b6a4dea4017ef194146570ec6 100644 (file)
@@ -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)