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]

[v3] testsuite tweaks for instantiations of non-standard types


This changes these tests to just be compile-only tests, to skirt the issue
of explicit/implicit inistantiations.

This wasn't being done consistenly in the testsuite anyway, as some of
these facets were already compile-only. This makes all of this type of
test the same.


tested x86/linux

2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/collate.cc: Compile-only.
	* testsuite/22_locale/time_get.cc: Same.
	* testsuite/22_locale/time_put.cc: Same.
	* testsuite/22_locale/numpunct.cc: Same.
	* testsuite/22_locale/num_put.cc: Same.
	* testsuite/22_locale/num_get.cc: Same.
	* testsuite/22_locale/moneypunct.cc: Same.
	* testsuite/22_locale/money_get.cc: Same.
	* testsuite/22_locale/messages.cc: Same.
	* testsuite/22_locale/ctype.cc: Same.

Index: testsuite/22_locale/collate.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/collate.cc,v
retrieving revision 1.1
diff -c -p -r1.1 collate.cc
*** collate.cc	2001/08/18 02:53:13	1.1
--- collate.cc	2001/12/04 07:10:07
***************
*** 20,25 ****
--- 20,27 ----
  
  // 22.2.4 The collate category
  
+ // { dg-do compile }
+ 
  #include <locale>
  
  void test01()
Index: testsuite/22_locale/ctype.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/ctype.cc,v
retrieving revision 1.4
diff -c -p -r1.4 ctype.cc
*** ctype.cc	2001/06/04 19:25:41	1.4
--- ctype.cc	2001/12/04 07:10:08
***************
*** 18,24 ****
  // Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307,
  // USA.
  
! // 22.2.1 the ctype category
  
  // 1: Test that the locale headers are picking up the correct
declaration
  // of the internal type `ctype_base::mask'.
--- 18,26 ----
  // Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307,
  // USA.
  
! // 22.2.1 The ctype category
! 
! // { dg-do compile }
  
  // 1: Test that the locale headers are picking up the correct
declaration
  // of the internal type `ctype_base::mask'.
Index: testsuite/22_locale/messages.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/messages.cc,v
retrieving revision 1.1
diff -c -p -r1.1 messages.cc
*** messages.cc	2001/08/08 02:49:01	1.1
--- messages.cc	2001/12/04 07:10:09
***************
*** 20,25 ****
--- 20,27 ----
  
  // 22.2.7 The message retrieval category
  
+ // { dg-do compile }
+ 
  #include <locale>
  
  void test01()
Index: testsuite/22_locale/money_get.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/money_get.cc,v
retrieving revision 1.1
diff -c -p -r1.1 money_get.cc
*** money_get.cc	2001/09/13 23:21:25	1.1
--- money_get.cc	2001/12/04 07:10:09
***************
*** 20,25 ****
--- 20,27 ----
  
  // 22.2.6.1  Template class money_get
  
+ // { dg-do compile }
+ 
  #include <locale>
  
  void test01()
Index: testsuite/22_locale/money_put.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/money_put.cc,v
retrieving revision 1.1
diff -c -p -r1.1 money_put.cc
*** money_put.cc	2001/08/28 06:19:35	1.1
--- money_put.cc	2001/12/04 07:10:11
***************
*** 20,25 ****
--- 20,27 ----
  
  // 22.2.6.2  Template class money_put
  
+ // { dg-do compile }
+ 
  #include <locale>
  
  void test01()
Index: testsuite/22_locale/moneypunct.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/moneypunct.cc,v
retrieving revision 1.2
diff -c -p -r1.2 moneypunct.cc
*** moneypunct.cc	2001/09/10 01:00:27	1.2
--- moneypunct.cc	2001/12/04 07:10:11
***************
*** 20,25 ****
--- 20,27 ----
  
  // 22.2.6.3  Template class moneypunct
  
+ // { dg-do compile }
+ 
  #include <locale>
  #include <testsuite_hooks.h>
  
Index: testsuite/22_locale/num_get.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/num_get.cc,v
retrieving revision 1.1
diff -c -p -r1.1 num_get.cc
*** num_get.cc	2001/11/28 04:07:10	1.1
--- num_get.cc	2001/12/04 07:10:12
***************
*** 20,25 ****
--- 20,27 ----
  
  // 22.2.2.1  Template class num_get
  
+ // { dg-do compile }
+ 
  #include <locale>
  
  void test01()
Index: testsuite/22_locale/num_put.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/num_put.cc,v
retrieving revision 1.1
diff -c -p -r1.1 num_put.cc
*** num_put.cc	2001/11/28 04:07:10	1.1
--- num_put.cc	2001/12/04 07:10:12
***************
*** 20,25 ****
--- 20,27 ----
  
  // 22.2.2.2  Template class num_put
  
+ // { dg-do compile }
+ 
  #include <locale>
  
  void test01()
Index: testsuite/22_locale/numpunct.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/numpunct.cc,v
retrieving revision 1.3
diff -c -p -r1.3 numpunct.cc
*** numpunct.cc	2001/08/08 02:49:01	1.3
--- numpunct.cc	2001/12/04 07:10:12
***************
*** 20,25 ****
--- 20,27 ----
  
  // 22.2.3  The numeric punctuation facet
  
+ // { dg-do compile }
+ 
  #include <locale>
  
  void test01()
Index: testsuite/22_locale/time_get.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/time_get.cc,v
retrieving revision 1.1
diff -c -p -r1.1 time_get.cc
*** time_get.cc	2001/09/28 23:44:48	1.1
--- time_get.cc	2001/12/04 07:10:13
***************
*** 20,25 ****
--- 20,27 ----
  
  // 22.2.5.1  Template class time_get
  
+ // { dg-do compile }
+ 
  #include <locale>
  
  void test01()
Index: testsuite/22_locale/time_put.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/time_put.cc,v
retrieving revision 1.1
diff -c -p -r1.1 time_put.cc
*** time_put.cc	2001/09/20 08:30:01	1.1
--- time_put.cc	2001/12/04 07:10:13
***************
*** 20,25 ****
--- 20,27 ----
  
  // 22.2.5.3  Template class time_put
  
+ // { dg-do compile }
+ 
  #include <locale>
  
  void test01()


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