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]

[PATCH] testsuite cleanup 3 of 9


I just submitted a patch to add proc 'cleanup-repo-files' for use with
dg-final.  This patch uses that new functionality in tests that use
-frepo and currently leave .o and .rpo files in the build's gcc/testsuite
directory.

If final testing of my set of nine testsuite cleanup patches shows no
problems, I'll check this in on mainline.

2005-03-04  Janis Johnson  <janis187@us.ibm.com>

	* g++.dg/parse/repo1.C: Use cleanup-repo-files.
	* g++.dg/template/repo1.C: Ditto.
	* g++.dg/template/repo2.C: Ditto.
	* g++.dg/template/repo3.C: Ditto.
	* g++.old-deja/g++.pt/instantiate4.C: Ditto.
	* g++.old-deja/g++.pt/instantiate6.C: Ditto.
	* g++.old-deja/g++.pt/repo1.C: Ditto.
	* g++.old-deja/g++.pt/repo2.C: Ditto.
	* g++.old-deja/g++.pt/repo3.C: Ditto.
	* g++.old-deja/g++.pt/repo4.C: Ditto.

Index: gcc/testsuite/g++.dg/parse/repo1.C
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/g++.dg/parse/repo1.C,v
retrieving revision 1.1
diff -u -p -r1.1 repo1.C
--- gcc/testsuite/g++.dg/parse/repo1.C	29 Jul 2004 17:59:30 -0000	1.1
+++ gcc/testsuite/g++.dg/parse/repo1.C	4 Mar 2005 01:14:53 -0000
@@ -5,3 +5,5 @@ extern "C" inline void f() {}
 int main () {
   f();
 }
+
+// { dg-final { cleanup-repo-files } }
Index: gcc/testsuite/g++.dg/template/repo1.C
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/g++.dg/template/repo1.C,v
retrieving revision 1.1
diff -u -p -r1.1 repo1.C
--- gcc/testsuite/g++.dg/template/repo1.C	29 Jul 2004 17:59:31 -0000	1.1
+++ gcc/testsuite/g++.dg/template/repo1.C	4 Mar 2005 01:15:19 -0000
@@ -15,3 +15,4 @@ B<int> b;
 
 int main () {}
 
+// { dg-final { cleanup-repo-files } }
Index: gcc/testsuite/g++.dg/template/repo2.C
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/g++.dg/template/repo2.C,v
retrieving revision 1.1
diff -u -p -r1.1 repo2.C
--- gcc/testsuite/g++.dg/template/repo2.C	24 Aug 2004 06:37:58 -0000	1.1
+++ gcc/testsuite/g++.dg/template/repo2.C	4 Mar 2005 01:15:05 -0000
@@ -12,3 +12,5 @@ template unsigned char __Atomicity_lock<
 
 int main () {
 }
+
+// { dg-final { cleanup-repo-files } }
Index: gcc/testsuite/g++.dg/template/repo3.C
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/g++.dg/template/repo3.C,v
retrieving revision 1.1
diff -u -p -r1.1 repo3.C
--- gcc/testsuite/g++.dg/template/repo3.C	25 Aug 2004 20:52:41 -0000	1.1
+++ gcc/testsuite/g++.dg/template/repo3.C	4 Mar 2005 01:15:12 -0000
@@ -5,3 +5,5 @@ template <typename A, typename B> void g
 int main () { g<int,int>(); }
 
 char c = F;
+
+// { dg-final { cleanup-repo-files } }
Index: gcc/testsuite/g++.old-deja/g++.pt/instantiate4.C
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/g++.old-deja/g++.pt/instantiate4.C,v
retrieving revision 1.4
diff -u -p -r1.4 instantiate4.C
--- gcc/testsuite/g++.old-deja/g++.pt/instantiate4.C	1 May 2003 02:02:54 -0000	1.4
+++ gcc/testsuite/g++.old-deja/g++.pt/instantiate4.C	4 Mar 2005 01:15:43 -0000
@@ -26,3 +26,5 @@ int main () {
     
     rab.bar();
 }
+
+// { dg-final { cleanup-repo-files } }
Index: gcc/testsuite/g++.old-deja/g++.pt/instantiate6.C
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/g++.old-deja/g++.pt/instantiate6.C,v
retrieving revision 1.7
diff -u -p -r1.7 instantiate6.C
--- gcc/testsuite/g++.old-deja/g++.pt/instantiate6.C	1 May 2003 02:02:54 -0000	1.7
+++ gcc/testsuite/g++.old-deja/g++.pt/instantiate6.C	4 Mar 2005 01:15:50 -0000
@@ -24,3 +24,5 @@ int main() {
   foo<int> f;
   f.g();
 }
+
+// { dg-final { cleanup-repo-files } }
Index: gcc/testsuite/g++.old-deja/g++.pt/repo1.C
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/g++.old-deja/g++.pt/repo1.C,v
retrieving revision 1.3
diff -u -p -r1.3 repo1.C
--- gcc/testsuite/g++.old-deja/g++.pt/repo1.C	1 May 2003 02:02:55 -0000	1.3
+++ gcc/testsuite/g++.old-deja/g++.pt/repo1.C	3 Mar 2005 22:07:30 -0000
@@ -18,3 +18,5 @@ int main ()
 {
   g (42);
 }
+
+// { dg-final { cleanup-repo-files } }
Index: gcc/testsuite/g++.old-deja/g++.pt/repo2.C
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/g++.old-deja/g++.pt/repo2.C,v
retrieving revision 1.2
diff -u -p -r1.2 repo2.C
--- gcc/testsuite/g++.old-deja/g++.pt/repo2.C	1 May 2003 02:02:55 -0000	1.2
+++ gcc/testsuite/g++.old-deja/g++.pt/repo2.C	3 Mar 2005 22:07:30 -0000
@@ -21,3 +21,5 @@ int main ()
 {
   int i = g (42);
 }
+
+// { dg-final { cleanup-repo-files } }
Index: gcc/testsuite/g++.old-deja/g++.pt/repo3.C
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/g++.old-deja/g++.pt/repo3.C,v
retrieving revision 1.2
diff -u -p -r1.2 repo3.C
--- gcc/testsuite/g++.old-deja/g++.pt/repo3.C	1 May 2003 02:02:55 -0000	1.2
+++ gcc/testsuite/g++.old-deja/g++.pt/repo3.C	3 Mar 2005 22:07:30 -0000
@@ -30,3 +30,5 @@ main ()
 {
   D<int> x;
 }
+
+// { dg-final { cleanup-repo-files } }
Index: gcc/testsuite/g++.old-deja/g++.pt/repo4.C
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/g++.old-deja/g++.pt/repo4.C,v
retrieving revision 1.2
diff -u -p -r1.2 repo4.C
--- gcc/testsuite/g++.old-deja/g++.pt/repo4.C	1 May 2003 02:02:55 -0000	1.2
+++ gcc/testsuite/g++.old-deja/g++.pt/repo4.C	3 Mar 2005 22:07:30 -0000
@@ -14,3 +14,5 @@ int main ()
 {
   S<int> s;
 }
+
+// { dg-final { cleanup-repo-files } }


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