Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / multi_index / test / test_range_main.cpp
index 3f569de..8c91668 100644 (file)
@@ -1,6 +1,6 @@
 /* Boost.MultiIndex test for range().
  *
- * Copyright 2003-2008 Joaquin M Lopez Munoz.
+ * Copyright 2003-2013 Joaquin M Lopez Munoz.
  * Distributed under the Boost Software License, Version 1.0.
  * (See accompanying file LICENSE_1_0.txt or copy at
  * http://www.boost.org/LICENSE_1_0.txt)
@@ -8,11 +8,11 @@
  * See http://www.boost.org/libs/multi_index for library home page.
  */
 
-#include <boost/test/included/test_exec_monitor.hpp>
+#include <boost/detail/lightweight_test.hpp>
 #include "test_range.hpp"
 
-int test_main(int,char *[])
+int main()
 {
   test_range();
-  return 0;
+  return boost::report_errors();
 }