From: Martin Liska Date: Wed, 17 Jun 2020 11:42:20 +0000 (+0200) Subject: testsuite: clean up .gcov files in test-suite. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9efbb03616f556dcceabe364f734b5b11fb13587;p=gcc.git 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. --- 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" } #