<commit_before># Clip Library
# Copyright (C) 2018 <NAME>

function(add_clip_test name)
  add_executable(clip_${name} ${name}.cpp)
  add_test(NAME clip_${name} COMMAND clip_${name})
  target_link_libraries(clip_${name} clip)
endfunction()

add_clip_test(text_tests)
add_clip_test(user_format_tests)
add_clip_test(image_tests)<commit_msg>Do not run tests in parallel (fix #24, thanks to @jimpark)<commit_after># Clip Library
# Copyright (C) 2018 <NAME>

function(add_clip_test name)
  add_executable(clip_${name} ${name}.cpp)
  add_test(NAME clip_${name} COMMAND clip_${name})
  target_link_libraries(clip_${name} clip)
  set_tests_properties(clip_${name} PROPERTIES RUN_SERIAL TRUE)
endfunction()

add_clip_test(text_tests)
add_clip_test(user_format_tests)
add_clip_test(image_tests)
{'fraction_non_alphanumeric': 0.11749680715197956, 'fraction_numerical': 0.01277139208173691, 'mean_word_length': 9.181818181818182, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3584706', 'n_tokens_mistral': 302, 'n_tokens_neox': 285, 'n_words': 55}