From 491080f4c1c24586c5e59cd7dc178e8d22fffb3c Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 26 Feb 2015 14:36:03 +0000 Subject: [PATCH] Add missing cleanup in g++.dg/gcov/gcov-14.C 2015-02-26 Tom de Vries * g++.dg/gcov/gcov-14.C: Add cleanup of iostream.gcov, ostream.gcov and locale_facets.h.gcov. From-SVN: r221013 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/gcov/gcov-14.C | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f4ae807471c..4f9ce8e08b6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-02-26 Tom de Vries + + * g++.dg/gcov/gcov-14.C: Add cleanup of iostream.gcov, ostream.gcov and + locale_facets.h.gcov. + 2015-02-26 Tom de Vries * gcc.target/i386/mcount_pic.c: Add missing cleanup-profile-file. diff --git a/gcc/testsuite/g++.dg/gcov/gcov-14.C b/gcc/testsuite/g++.dg/gcov/gcov-14.C index 8f8e3882d82..b069d0e1881 100644 --- a/gcc/testsuite/g++.dg/gcov/gcov-14.C +++ b/gcc/testsuite/g++.dg/gcov/gcov-14.C @@ -14,3 +14,8 @@ int main () } /* { dg-final { run-gcov gcov-14.C } } */ +/* run-gcov cleanups up after itself, but doesn't find all created gcov files. + We could try to grep for ^Created in the exec log, but since there's only one + testcase where we create these extra gcov files, do a local cleanup for + now. */ +/* { dg-final { remote_file target delete iostream.gcov ostream.gcov locale_facets.h.gcov } } */ -- 2.30.2