[test] Remove unused defines, write test configuration

This commit is contained in:
Barend Gehrels 2020-06-24 12:46:06 +02:00
parent d347251055
commit 9cbb2c242e
10 changed files with 11 additions and 15 deletions

View File

@ -30,7 +30,6 @@
// #define BOOST_GEOMETRY_DEBUG_ENRICH
//#define BOOST_GEOMETRY_DEBUG_RELATIVE_ORDER
// #define BOOST_GEOMETRY_REPORT_OVERLAY_ERROR
// #define BOOST_GEOMETRY_DEBUG_SEGMENT_IDENTIFIER

View File

@ -7,7 +7,6 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_GEOMETRY_REPORT_OVERLAY_ERROR
#define BOOST_GEOMETRY_NO_BOOST_TEST
#include <sstream>

View File

@ -13,9 +13,7 @@
#include <iomanip>
#include <string>
#define BOOST_GEOMETRY_REPORT_OVERLAY_ERROR
#define BOOST_GEOMETRY_NO_BOOST_TEST
#define BOOST_GEOMETRY_TIME_OVERLAY
#include <test_overlay_p_q.hpp>
@ -92,6 +90,7 @@ void test_all(int count, int count_x, int count_y, int offset, p_q_settings cons
int main(int argc, char** argv)
{
BoostGeometryWriteTestConfiguration();
try
{
namespace po = boost::program_options;

View File

@ -7,8 +7,6 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_GEOMETRY_REPORT_OVERLAY_ERROR
#define BOOST_GEOMETRY_NO_BOOST_TEST
#include <test_overlay_p_q.hpp>
@ -238,6 +236,7 @@ void test_all(bool multi, bool single_selftangent, p_q_settings const& settings)
int main(int argc, char** argv)
{
BoostGeometryWriteTestConfiguration();
try
{
namespace po = boost::program_options;

View File

@ -12,7 +12,6 @@
#define BOOST_GEOMETRY_NO_BOOST_TEST
#include <test_overlay_p_q.hpp>
#include <boost/program_options.hpp>
@ -128,6 +127,7 @@ void test_all(std::string const& type, int count, int min_points, int max_points
int main(int argc, char** argv)
{
BoostGeometryWriteTestConfiguration();
try
{
namespace po = boost::program_options;

View File

@ -13,9 +13,7 @@
#include <iomanip>
#include <string>
#define BOOST_GEOMETRY_REPORT_OVERLAY_ERROR
#define BOOST_GEOMETRY_NO_BOOST_TEST
//#define BOOST_GEOMETRY_TIME_OVERLAY
#include <test_overlay_p_q.hpp>
@ -104,6 +102,7 @@ void test_all(int count, int count_x, int count_y, int width_x, p_q_settings con
int main(int argc, char** argv)
{
BoostGeometryWriteTestConfiguration();
try
{
namespace po = boost::program_options;

View File

@ -7,7 +7,6 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_GEOMETRY_REPORT_OVERLAY_ERROR
#define BOOST_GEOMETRY_NO_BOOST_TEST
@ -187,6 +186,7 @@ void test_all(std::string const& type, int seed, int count, p_q_settings setting
int main(int argc, char** argv)
{
BoostGeometryWriteTestConfiguration();
try
{
namespace po = boost::program_options;

View File

@ -7,7 +7,6 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_GEOMETRY_REPORT_OVERLAY_ERROR
#define BOOST_GEOMETRY_NO_BOOST_TEST
#include <test_overlay_p_q.hpp>
@ -141,6 +140,7 @@ void test_all(int seed, int count, int field_size, int level, bool triangular, p
int main(int argc, char** argv)
{
BoostGeometryWriteTestConfiguration();
try
{
namespace po = boost::program_options;

View File

@ -7,11 +7,7 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// #define BOOST_GEOMETRY_REPORT_OVERLAY_ERROR
#define BOOST_GEOMETRY_NO_BOOST_TEST
// #define BOOST_GEOMETRY_TIME_OVERLAY
#include <test_overlay_p_q.hpp>
@ -71,6 +67,7 @@ void test_all(int count, int star_point_count, int comb_comb_count, double facto
int main(int argc, char** argv)
{
BoostGeometryWriteTestConfiguration();
try
{
namespace po = boost::program_options;

View File

@ -12,6 +12,8 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_GEOMETRY_NO_BOOST_TEST
#if defined(_MSC_VER)
# pragma warning( disable : 4244 )
# pragma warning( disable : 4267 )
@ -36,6 +38,7 @@
#include <boost/geometry/strategies/buffer.hpp>
#include <geometry_test_common.hpp>
#include <common/common_settings.hpp>
#include <common/make_square_polygon.hpp>
@ -285,6 +288,7 @@ void test_all(int seed, int count, int level, Settings const& settings)
int main(int argc, char** argv)
{
BoostGeometryWriteTestConfiguration();
try
{
namespace po = boost::program_options;