mirror of
https://github.com/boostorg/multi_array.git
synced 2026-01-27 19:12:10 +00:00
Switch to Boost.Lightweight_Test for faster test build and run times
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user