<commit_before>function(add_tz_test)
    cmake_parse_arguments(
        ADD_TZ_TEST
        "GRAPHICAL"
        "NAME"
        "SOURCE_FILES;SHADER_SOURCES"
        ${ARGN}
        )

    add_executable(${ADD_TZ_TEST_NAME}
        ${ADD_TZ_TEST_SOURCE_FILES}
    )
    target_include_directories(${ADD_TZ_TEST_NAME} PRIVATE ${PROJECT_SOURCE_DIR})
    target_link_libraries(${ADD_TZ_TEST_NAME} PRIVATE topaz tz_test_harness)
    add_shader(
        TARGET ${ADD_TZ_TEST_NAME}
        SHADERS ${ADD_TZ_TEST_SHADER_SOURCES}
    )
    add_test(NAME ${ADD_TZ_TEST_NAME}
        COMMAND ${ADD_TZ_TEST_NAME}
        WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
    add_dependencies(tztest ${ADD_TZ_TEST_NAME})
    add_dependencies(tztest_nographics ${ADD_TZ_TEST_NAME})
    if(${ADD_TZ_TEST_GRAPHICAL})
        set_tests_properties(${ADD_TZ_TEST_NAME} PROPERTIES LABELS GRAPHICAL)
        message(STATUS "Found graphical test ${ADD_TZ_TEST_NAME}")
    else()
        message(STATUS "Found non-graphical test ${ADD_TZ_TEST_NAME}")
    endif()
endfunction()

add_custom_target(tztest COMMAND "${CMAKE_CTEST_COMMAND}" "--output-on-failure"
                        WORKING_DIRECTORY ${PROJECT_BINARY_DIR})

add_custom_target(tztest_nographics COMMAND "${CMAKE_CTEST_COMMAND}" --output-on-failure -LE GRAPHICAL
                        WORKING_DIRECTORY ${PROJECT_BINARY_DIR})

add_library(tz_test_harness INTERFACE)
target_include_directories(tz_test_harness INTERFACE ./)

add_subdirectory(core)
add_subdirectory(gl)<commit_msg>* Added '-C Debug' to ctest runtime args which should make the MSVC tests green<commit_after>function(add_tz_test)
    cmake_parse_arguments(
        ADD_TZ_TEST
        "GRAPHICAL"
        "NAME"
        "SOURCE_FILES;SHADER_SOURCES"
        ${ARGN}
        )

    add_executable(${ADD_TZ_TEST_NAME}
        ${ADD_TZ_TEST_SOURCE_FILES}
    )
    target_include_directories(${ADD_TZ_TEST_NAME} PRIVATE ${PROJECT_SOURCE_DIR})
    target_link_libraries(${ADD_TZ_TEST_NAME} PRIVATE topaz tz_test_harness)
    add_shader(
        TARGET ${ADD_TZ_TEST_NAME}
        SHADERS ${ADD_TZ_TEST_SHADER_SOURCES}
    )
    add_test(NAME ${ADD_TZ_TEST_NAME}
        COMMAND ${ADD_TZ_TEST_NAME}
        WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
    add_dependencies(tztest ${ADD_TZ_TEST_NAME})
    add_dependencies(tztest_nographics ${ADD_TZ_TEST_NAME})
    if(${ADD_TZ_TEST_GRAPHICAL})
        set_tests_properties(${ADD_TZ_TEST_NAME} PROPERTIES LABELS GRAPHICAL)
        message(STATUS "Found graphical test ${ADD_TZ_TEST_NAME}")
    else()
        message(STATUS "Found non-graphical test ${ADD_TZ_TEST_NAME}")
    endif()
endfunction()

add_custom_target(tztest COMMAND "${CMAKE_CTEST_COMMAND}" --output-on-failure -C Debug
                        WORKING_DIRECTORY ${PROJECT_BINARY_DIR})

add_custom_target(tztest_nographics COMMAND "${CMAKE_CTEST_COMMAND}" --output-on-failure -LE GRAPHICAL -C Debug
                        WORKING_DIRECTORY ${PROJECT_BINARY_DIR})

add_library(tz_test_harness INTERFACE)
target_include_directories(tz_test_harness INTERFACE ./)

add_subdirectory(core)
add_subdirectory(gl)
{'fraction_non_alphanumeric': 0.09073359073359073, 'fraction_numerical': 0.0, 'mean_word_length': 3.9823717948717947, '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': '6497161', 'n_tokens_mistral': 1151, 'n_tokens_neox': 1060, 'n_words': 155}