<commit_before>
set(CMAKE_INCLUDE_CURRENT_DIR on)
ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK)

include_directories(${Boost_INCLUDE_DIRS} ${LOG4CXX_INCLUDE_DIRS}/.. ${ZEROMQ_INCLUDE_DIRS})

add_executable(frameReceiverTest IpcMessageTest.cpp)

target_link_libraries(frameReceiverTest 
		${Boost_LIBRARIES} 
		${LOG4CXX_LIBRARIES} 
		${ZEROMQ_LIBRARIES})
		
ADD_TEST(frameReceiverTest frameReceiverTest)<commit_msg>Added realtime library (e.g. -lrt) to target link libraries for frameRecevierTest to fix build fail on travis-ci<commit_after>
set(CMAKE_INCLUDE_CURRENT_DIR on)
ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK)

include_directories(${Boost_INCLUDE_DIRS} ${LOG4CXX_INCLUDE_DIRS}/.. ${ZEROMQ_INCLUDE_DIRS})

add_executable(frameReceiverTest IpcMessageTest.cpp)

find_library(REALTIME_LIBRARY 
		NAMES rt)
		
target_link_libraries(frameReceiverTest 
		${Boost_LIBRARIES} 
		${LOG4CXX_LIBRARIES} 
		${ZEROMQ_LIBRARIES}
		${REALTIME_LIBRARY})
		
ADD_TEST(frameReceiverTest frameReceiverTest)
{'fraction_non_alphanumeric': 0.08850457782299084, 'fraction_numerical': 0.004069175991861648, 'mean_word_length': 8.742574257425742, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6570540', 'n_tokens_mistral': 417, 'n_tokens_neox': 360, 'n_words': 49}