This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Hi,

committed as obvious.

Thanks,
- Tom
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]