From 9efbb03616f556dcceabe364f734b5b11fb13587 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 17 Jun 2020 13:42:20 +0200 Subject: [PATCH] testsuite: clean up .gcov files in test-suite. 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.30.2