Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / multi_index / test / test_safe_mode_main.cpp
index 224d61f..4bb892c 100644 (file)
@@ -1,6 +1,6 @@
 /* Boost.MultiIndex test for safe mode.
  *
- * 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,12 +8,12 @@
  * 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_safe_mode.hpp"
 
-int test_main(int,char *[])
+int main()
 {
   test_safe_mode();
-  return 0;
+  return boost::report_errors();
 }