Switch to Boost.Lightweight_Test for faster test build and run times

This commit is contained in:
Glen Fernandes
2019-02-18 15:42:25 -05:00
parent 25b8a5479f
commit 11d00187fa
44 changed files with 376 additions and 380 deletions

View File

@@ -15,14 +15,14 @@
// Testing subarray and const_subarray assignment
//
#include "boost/multi_array.hpp"
#include <boost/multi_array.hpp>
#include "boost/test/minimal.hpp"
#include <boost/core/lightweight_test.hpp>
#include "boost/array.hpp"
#include <boost/array.hpp>
int
test_main(int,char*[])
main()
{
const int ndims=3;
typedef boost::multi_array_ref<int,ndims> array_ref;
@@ -44,5 +44,5 @@ test_main(int,char*[])
array_ref::subarray<ndims-1>::type sba = csba; // FAIL! preserve constness.
return boost::exit_success;
return boost::report_errors();
}