X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fmulti_array%2Ftest%2Freverse_view.cpp;h=092d906a8bc46cbbc3882c1e085a8b14994c94ba;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=ee2c73334677a0d5eeb812639aa1a11033b49999;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/libs/multi_array/test/reverse_view.cpp b/ceph/src/boost/libs/multi_array/test/reverse_view.cpp index ee2c73334..092d906a8 100644 --- a/ceph/src/boost/libs/multi_array/test/reverse_view.cpp +++ b/ceph/src/boost/libs/multi_array/test/reverse_view.cpp @@ -14,12 +14,12 @@ // reverse_view.cpp - a small test of creating a view with negative strides // -#include "boost/multi_array.hpp" -#include "boost/test/minimal.hpp" -#include "boost/array.hpp" +#include +#include +#include int -test_main(int,char*[]) +main() { using namespace boost; @@ -36,8 +36,8 @@ test_main(int,char*[]) array::array_view<1>::type B = A[indices[range(3, -1, -1)]]; for(multi_array_types::size_type i = 0; i != B.size(); ++i) { - BOOST_CHECK(B[i] == rdata[i]); + BOOST_TEST(B[i] == rdata[i]); } - return boost::exit_success; + return boost::report_errors(); }