Commit 115db791 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[Tests] Remove useless boost use

parent 162ccbf0
......@@ -32,7 +32,6 @@ TARGET_INCLUDE_DIRECTORIES(${CONTROLLER_NAME} SYSTEM PUBLIC
TARGET_LINK_LIBRARIES(${CONTROLLER_NAME} ${DEVICE_NAME})
INSTALL(TARGETS ${CONTROLLER_NAME} DESTINATION lib)
ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN)
ADD_EXECUTABLE(sot-test-log sot-test-log.cc)
TARGET_LINK_LIBRARIES(sot-test-log rcsot_controller)
......
#include <cmath>
#include "../src/log.hh"
#define BOOST_TEST_MODULE hpp_constraints
#include <boost/test/included/unit_test.hpp>
BOOST_AUTO_TEST_CASE (logger) {
int main() {
rc_sot_system::DataToLog DataOneIter;
rc_sot_system::ProfileLog profileLog;
rc_sot_system::Log RcSotLog;
......@@ -29,6 +26,4 @@ BOOST_AUTO_TEST_CASE (logger) {
}
std::string filename("./test.log");
RcSotLog.save(filename);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment