Author: mysqlpp
Date: Thu Nov 20 16:31:29 2008
New Revision: 2420
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2420&view=rev
Log:
Disabled test/datetime.cpp for Sun CC, as it can't compile it. Reported
by Kartik Mahajan.
Modified:
trunk/test/datetime.cpp
Modified: trunk/test/datetime.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/test/datetime.cpp?rev=2420&r1=2419&r2=2420&view=diff
==============================================================================
--- trunk/test/datetime.cpp (original)
+++ trunk/test/datetime.cpp Thu Nov 20 16:31:29 2008
@@ -203,12 +203,16 @@
main()
{
unsigned int failures = 0;
+#if !defined(__SUNPRO_CC)
+ // Sun CC can't compile these tests for some reason. So, skip them.
+ // See http://lists.mysql.com/plusplus/8164
failures += test(0, 0, 0, 0, 0, 0);
failures += test(1, 2, 3, 4, 5, 6);
failures += test_stringization(DateTime(), "NOW()", "DateTime");
DateTime dt;
dt.year(2007);
failures += test_stringization(dt, "2007-00-00 00:00:00", "DateTime");
+#endif
return failures;
}
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits