public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Add missing cleanup in g++.dg/gcov/gcov-14.C
@ 2015-02-26 14:53 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2015-02-26 14:53 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 42 bytes --]

Hi,

committed as obvious.

Thanks,
- Tom

[-- Attachment #2: 0001-Add-missing-cleanup-in-g-.dg-gcov-gcov-14.C.patch --]
[-- Type: text/x-patch, Size: 786 bytes --]

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-26 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 14:53 [committed] Add missing cleanup in g++.dg/gcov/gcov-14.C Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).