stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r586808 - /incubator/stdcxx/branches/4.2.x/tests/numerics/26.valarray.cassign.cpp
Date Sat, 20 Oct 2007 21:36:44 GMT
Author: sebor
Date: Sat Oct 20 14:36:43 2007
New Revision: 586808

URL: http://svn.apache.org/viewvc?rev=586808&view=rev
Log:
2007-10-20  Martin Sebor  <sebor@roguewave.com>

	* 26.valarray.cassign.cpp (run_test): Disabled tests exercising
	valarray specializations on a user-defined type for 4.2.0 and
	prior since they are known to fail to compile due to STDCXX-512.

Modified:
    incubator/stdcxx/branches/4.2.x/tests/numerics/26.valarray.cassign.cpp

Modified: incubator/stdcxx/branches/4.2.x/tests/numerics/26.valarray.cassign.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.x/tests/numerics/26.valarray.cassign.cpp?rev=586808&r1=586807&r2=586808&view=diff
==============================================================================
--- incubator/stdcxx/branches/4.2.x/tests/numerics/26.valarray.cassign.cpp (original)
+++ incubator/stdcxx/branches/4.2.x/tests/numerics/26.valarray.cassign.cpp Sat Oct 20 14:36:43
2007
@@ -801,10 +801,23 @@
 {
 #undef TEST
 #define TEST(T)   test_op_assign ((const T*)0, #T)
+
     TEST (int);
     TEST (double);
 
+#if 0x04020000 <= _RWSTD_VER
+
+    // test fails to compile with stdcxx 4.2.0 and prior due to
+    // STDCXX-512: http://issues.apache.org/jira/browse/STDCXX-512
+    rw_warn (0, 0, __LINE__,
+             "test of UserClass disabled in stdcxx 4.2.0 and prior "
+             "due to STDCXX-512");
+
+#else   // stdcxx > 4.2.0
+
     TEST (UserClass);
+
+#endif   // stdcxx version
 
     return 0;
 }



Mime
View raw message