Skip to content

Commit 61fde20

Browse files
committed
changes
1 parent 61729e0 commit 61fde20

File tree

6 files changed

+0
-212
lines changed

6 files changed

+0
-212
lines changed

CMakeLists.txt

-34
Original file line numberDiff line numberDiff line change
@@ -100,40 +100,6 @@ target_compile_definitions(InfluxDB
100100
$<$<BOOL:${Boost_FOUND}>:INFLUXDB_WITH_BOOST>
101101
)
102102

103-
####################################
104-
# Tests
105-
####################################
106-
107-
# Tests require Boost::unit_test_framework
108-
if (Boost_FOUND)
109-
110-
enable_testing()
111-
112-
set(TEST_SRCS
113-
test/testUdp.cxx
114-
test/testPoint.cxx
115-
test/testHttp.cxx
116-
test/testQuery.cxx
117-
)
118-
119-
foreach (test ${TEST_SRCS})
120-
get_filename_component(test_name ${test} NAME)
121-
string(REGEX REPLACE ".cxx" "" test_name ${test_name})
122-
123-
add_executable(${test_name} ${test})
124-
target_link_libraries(${test_name}
125-
PRIVATE
126-
InfluxDB Boost::unit_test_framework
127-
)
128-
add_test(NAME ${test_name} COMMAND ${test_name})
129-
set_tests_properties(${test_name} PROPERTIES TIMEOUT 60)
130-
endforeach()
131-
132-
add_executable(benchmark test/benchmark.cxx)
133-
target_link_libraries(benchmark PRIVATE InfluxDB Boost::program_options)
134-
endif()
135-
136-
137103
####################################
138104
# Install
139105
####################################

test/benchmark.cxx

-38
This file was deleted.

test/testHttp.cxx

-26
This file was deleted.

test/testPoint.cxx

-64
This file was deleted.

test/testQuery.cxx

-22
This file was deleted.

test/testUdp.cxx

-28
This file was deleted.

0 commit comments

Comments
 (0)