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,10 +15,10 @@
// with exceptions
//
#include "boost/test/minimal.hpp"
#include <boost/core/lightweight_test.hpp>
#define BOOST_ENABLE_ASSERT_HANDLER
#include "boost/multi_array.hpp" // includes assert.hpp
#include <boost/multi_array.hpp> // includes assert.hpp
#include <stdexcept>
@@ -40,7 +40,7 @@ namespace boost {
using namespace boost;
int
test_main(int,char*[]) {
main() {
typedef multi_array<int,2> array_t;
@@ -55,5 +55,5 @@ test_main(int,char*[]) {
//...all good
}
return boost::exit_success;
return boost::report_errors();
}