<commit_before>CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/_TDD.m.in ${BTK_EXECUTABLE_PATH}/TDD.m)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/_TDDConfigure.m.in ${CMAKE_CURRENT_BINARY_DIR}/TDDConfigure.m)

ADD_TEST(NAME "TDD_Matlab" WORKING_DIRECTORY ${BTK_EXECUTABLE_PATH} COMMAND ${MATLAB_EXECUTABLE} "-nojvm -nosplash -r \"out = TDD; if (out) exit(0); else exit(1); end\"")<commit_msg>Matlab command for the unit tests does not wait the end of the script under Windows and returns true directly.<commit_after>CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/_TDD.m.in ${BTK_EXECUTABLE_PATH}/TDD.m)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/_TDDConfigure.m.in ${CMAKE_CURRENT_BINARY_DIR}/TDDConfigure.m)

ADD_TEST(NAME "TDD_Matlab" WORKING_DIRECTORY ${BTK_EXECUTABLE_PATH} COMMAND ${MATLAB_EXECUTABLE} -nojvm -nosplash -nodesktop -wait -r "out = TDD; if (out) exit(0); else exit(1); end")
{'fraction_non_alphanumeric': 0.13009049773755657, 'fraction_numerical': 0.004524886877828055, 'mean_word_length': 8.123711340206185, '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': '4599285', 'n_tokens_mistral': 353, 'n_tokens_neox': 340, 'n_words': 62}