diff mbox

[committed] Add missing cleanup in g++.dg/gcov/gcov-14.C

Message ID 54EF2F65.1080207@mentor.com
State New
Headers show

Commit Message

Tom de Vries Feb. 26, 2015, 2:36 p.m. UTC
Hi,

committed as obvious.

Thanks,
- Tom
diff mbox

Patch

2015-02-26  Tom de Vries  <tom@codesourcery.com>

	* g++.dg/gcov/gcov-14.C: Add cleanup of iostream.gcov, ostream.gcov and
	locale_facets.h.gcov.

diff --git a/gcc/testsuite/g++.dg/gcov/gcov-14.C b/gcc/testsuite/g++.dg/gcov/gcov-14.C
index 8f8e388..b069d0e 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 } } */
-- 
1.9.1