Installed to master.

There's still bunch of files that correspond to a system header files:
./gcc/testsuite/g++4/new.gcov
./gcc/testsuite/g++4/initializer_list.gcov
./gcc/testsuite/g++4/allocator.h.gcov
./gcc/testsuite/g++4/stl_iterator_base_funcs.h.gcov
...

Martin

gcc/testsuite/ChangeLog:

        PR testsuite/95720
        * gcc.misc-tests/gcov-pr94029.c: Remove not needed remove-gcda.
        * lib/gcov.exp: Delete properly .gcov files.
---
 gcc/testsuite/gcc.misc-tests/gcov-pr94029.c | 2 +-
 gcc/testsuite/lib/gcov.exp                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.misc-tests/gcov-pr94029.c 
b/gcc/testsuite/gcc.misc-tests/gcov-pr94029.c
index 84d9b9b2749..82b378a84fa 100644
--- a/gcc/testsuite/gcc.misc-tests/gcov-pr94029.c
+++ b/gcc/testsuite/gcc.misc-tests/gcov-pr94029.c
@@ -11,4 +11,4 @@ int main()
   return 0;
 }
-/* { dg-final { run-gcov remove-gcda gcov-pr94029.c } } */
+/* { dg-final { run-gcov gcov-pr94029.c } } */
diff --git a/gcc/testsuite/lib/gcov.exp b/gcc/testsuite/lib/gcov.exp
index a2832ec4f05..9276aead06b 100644
--- a/gcc/testsuite/lib/gcov.exp
+++ b/gcc/testsuite/lib/gcov.exp
@@ -39,8 +39,8 @@ proc clean-gcov-file { testcase suffix } {
 proc clean-gcov { testcase } {
     clean-gcov-file $testcase "gcno"
     clean-gcov-file $testcase "gcda"
-    clean-gcov-file $testcase "gcov"
     clean-gcov-file $testcase "h.gcov"
+    remote_file host delete "$testcase.gcov"
 }
#
--
2.27.0

Reply via email to