<commit_before>#
# type_tests
#

SQ_GENERATE(type_tests type_tests.automation)
ADD_EXECUTABLE(type_tests  type_tests.c ${SQ_GENERATE_type_tests})

ADD_SUBDIRECTORY(type_tests_disabled)

TARGET_LINK_LIBRARIES(type_tests SequantoAutomation)

ADD_CUSTOM_TARGET(run_type_tests ./type_tests DEPENDS type_tests)
<commit_msg>Try to make the run_type_tests art the type_tests target - but cmake is being a bitch<commit_after>#
# type_tests
#

SQ_GENERATE(type_tests type_tests.automation)
ADD_EXECUTABLE(type_tests  type_tests.c ${SQ_GENERATE_type_tests})

ADD_SUBDIRECTORY(type_tests_disabled)

TARGET_LINK_LIBRARIES(type_tests SequantoAutomation)

#get_filename_component(type_tests_LOCATION "$<TARGET_FILE:type_tests>" ABSOLUTE)
#FILE(TO_NATIVE_PATH "$<TARGET_FILE:type_tests>" type_tests_LOCATION)
#SET(type_tests_LOCATION "$<TARGET_FILE:type_tests> $<TARGET_FILE:type_tests>")
ADD_CUSTOM_TARGET(run_type_tests "$<TARGET_FILE:type_tests>" DEPENDS type_tests WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
#ADD_CUSTOM_TARGET(run_type_tests "type_tests" DEPENDS type_tests WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})

{'fraction_non_alphanumeric': 0.08348294434470377, 'fraction_numerical': 0.0, 'mean_word_length': 12.597560975609756, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '500467', 'n_tokens_mistral': 419, 'n_tokens_neox': 413, 'n_words': 59}