Skip to content

Commit 115db79

Browse files
committed
[Tests] Remove useless boost use
1 parent 162ccbf commit 115db79

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

tests/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ TARGET_INCLUDE_DIRECTORIES(${CONTROLLER_NAME} SYSTEM PUBLIC
3232
TARGET_LINK_LIBRARIES(${CONTROLLER_NAME} ${DEVICE_NAME})
3333
INSTALL(TARGETS ${CONTROLLER_NAME} DESTINATION lib)
3434

35-
ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN)
3635
ADD_EXECUTABLE(sot-test-log sot-test-log.cc)
3736
TARGET_LINK_LIBRARIES(sot-test-log rcsot_controller)
3837

tests/sot-test-log.cc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
#include <cmath>
22
#include "../src/log.hh"
33

4-
#define BOOST_TEST_MODULE hpp_constraints
5-
#include <boost/test/included/unit_test.hpp>
6-
7-
BOOST_AUTO_TEST_CASE (logger) {
4+
int main() {
85
rc_sot_system::DataToLog DataOneIter;
96
rc_sot_system::ProfileLog profileLog;
107
rc_sot_system::Log RcSotLog;
@@ -29,6 +26,4 @@ BOOST_AUTO_TEST_CASE (logger) {
2926
}
3027
std::string filename("./test.log");
3128
RcSotLog.save(filename);
32-
33-
3429
}

0 commit comments

Comments
 (0)