Switched to <boost/detail/lightweight_test.hpp> for testing.

[SVN r14932]
This commit is contained in:
Peter Dimov
2002-08-16 16:41:16 +00:00
parent 8436c4d271
commit c2ee5172b0
3 changed files with 182 additions and 185 deletions
+1 -4
View File
@@ -19,9 +19,6 @@
#include <boost/shared_ptr.hpp>
#include <boost/bind.hpp>
#define BOOST_INCLUDE_MAIN
#include <boost/test/test_tools.hpp>
#include <vector>
#include <memory>
#include <stdexcept>
@@ -153,7 +150,7 @@ int const m = 16; // threads
char const * implementation = "spinlock";
#endif
int test_main( int, char ** )
int main()
{
std::printf("%s: %s, %d threads, %d iterations: ", title, implementation, m, n);