Update of /cvsroot/boost/boost/libs/serialization/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3512/test
Modified Files:
Jamfile Jamfile.v2 test_array.cpp test_vector.cpp
Removed Files:
array_binary_archive.hpp
Log Message:
Index: Jamfile
===================================================================
RCS file: /cvsroot/boost/boost/libs/serialization/test/Jamfile,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- Jamfile 1 May 2006 00:08:10 -0000 1.35
+++ Jamfile 22 Jun 2006 07:21:22 -0000 1.36
@@ -25,7 +25,6 @@
"text_archive.hpp"
"text_warchive.hpp"
"binary_archive.hpp"
- "array_binary_archive.hpp"
"xml_archive.hpp"
"xml_warchive.hpp"
;
Index: Jamfile.v2
===================================================================
RCS file: /cvsroot/boost/boost/libs/serialization/test/Jamfile.v2,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Jamfile.v2 1 May 2006 00:08:10 -0000 1.4
+++ Jamfile.v2 22 Jun 2006 07:21:22 -0000 1.5
@@ -15,7 +15,6 @@
"text_archive.hpp"
"text_warchive.hpp"
"binary_archive.hpp"
- "array_binary_archive.hpp"
"xml_archive.hpp"
"xml_warchive.hpp"
;
Index: test_array.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/serialization/test/test_array.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- test_array.cpp 19 May 2005 02:49:47 -0000 1.9
+++ test_array.cpp 22 Jun 2006 07:21:22 -0000 1.10
@@ -51,7 +51,8 @@
}
};
-int test_main( int /* argc */, char* /* argv */[] )
+template <class T>
+int test_array(T)
{
const char * testfile = boost::archive::tmpnam(NULL);
BOOST_REQUIRE(NULL != testfile);
@@ -98,4 +99,14 @@
return EXIT_SUCCESS;
}
+
+int test_main( int /* argc */, char* /* argv */[] )
+{
+ int res = test_array(A());
+ // test an int array for which optimized versions should be available
+ if (res == EXIT_SUCCESS)
+ res = test_array(0);
+ return res;
+}
+
// EOF
Index: test_vector.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/serialization/test/test_vector.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- test_vector.cpp 10 Feb 2005 02:48:53 -0000 1.7
+++ test_vector.cpp 22 Jun 2006 07:21:22 -0000 1.8
@@ -26,7 +26,8 @@
#include "A.hpp"
-int test_main( int /* argc */, char* /* argv */[] )
+template <class T>
+int test_vector(T)
{
const char * testfile = boost::archive::tmpnam(NULL);
BOOST_REQUIRE(NULL != testfile);
@@ -51,4 +52,13 @@
return EXIT_SUCCESS;
}
+int test_main( int /* argc */, char* /* argv */[] )
+{
+ int res = test_vector(A());
+ // test an int array for which optimized versions should be available
+ if (res == EXIT_SUCCESS)
+ res = test_vector(0);
+ return res;
+}
+
// EOF
--- array_binary_archive.hpp DELETED ---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs