mirror of https://gitee.com/bigwinds/arangodb
used included version of boost
This commit is contained in:
parent
7b83374c65
commit
22ea1ee55e
|
@ -1,2 +1,2 @@
|
|||
#define BOOST_TEST_MODULE "C/C++ Unit Tests for ArangoDB"
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
|
|
|
@ -4,26 +4,6 @@ include_directories(.)
|
|||
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/tests/")
|
||||
|
||||
set(BOOST_UNITTESTS_SRC
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/compiler_log_formatter.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/debug.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/decorator.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/execution_monitor.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/framework.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/plain_report_formatter.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/progress_monitor.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/results_collector.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/results_reporter.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/test_tools.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/test_tree.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/unit_test_log.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/unit_test_main.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/unit_test_monitor.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/unit_test_parameters.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/xml_log_formatter.cpp
|
||||
${Boost_INCLUDE_DIR}/libs/test/src/xml_report_formatter.cpp
|
||||
)
|
||||
|
||||
################################################################################
|
||||
## basics_suite
|
||||
################################################################################
|
||||
|
@ -52,7 +32,6 @@ add_executable(${TEST_BASICS_SUITE}
|
|||
Basics/StringBufferTest.cpp
|
||||
Basics/StringUtilsTest.cpp
|
||||
../lib/Basics/WorkMonitorDummy.cpp
|
||||
${BOOST_UNITTESTS_SRC}
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
|
@ -74,11 +53,9 @@ endif ()
|
|||
################################################################################
|
||||
|
||||
add_executable(${TEST_GEO_SUITE}
|
||||
Geo/Runner.cpp
|
||||
Geo/georeg.cpp
|
||||
../lib/Basics/WorkMonitorDummy.cpp
|
||||
../arangod/GeoIndex/GeoIndex.cpp
|
||||
${BOOST_UNITTESTS_SRC}
|
||||
)
|
||||
|
||||
target_link_libraries(${TEST_GEO_SUITE}
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#define BOOST_TEST_MODULE "C Unit Tests for Cambridge"
|
||||
#include <boost/test/unit_test.hpp>
|
|
@ -38,7 +38,10 @@
|
|||
/* regression testing program for GeoIndex module */
|
||||
/* R.A.P. 2.1 8.1.2012 */
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include "Basics/Common.h"
|
||||
|
||||
#define BOOST_TEST_MODULE "C Unit Tests for Cambridge"
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
|
||||
#include "GeoIndex/GeoIndex.h"
|
||||
#include "Basics/StringUtils.h"
|
||||
|
|
Loading…
Reference in New Issue