<commit_before># tests/sixtracklib/opencl/CMakeLists.txt

if( GTEST_FOUND )

    set(   UNIT_TEST_TARGETS )
    set(   SIXTRACKL_TEST_LIBRARIES ${SIXTRACKL_TEST_LIBRARIES}
         ${SIXTRACKL_GTEST_LIBRARIES} sixtrack_test sixtrack m dl )

    # --------------------------------------------------------------------------
    # test_buffer_opencl_c99:

    add_executable( test_buffer_opencl_c99 test_buffer_opencl_c99.cpp )
    set( UNIT_TEST_TARGETS ${UNIT_TEST_TARGETS} test_buffer_opencl_c99 )
    target_link_libraries( test_buffer_opencl_c99 PRIVATE ${SIXTRACKL_TEST_LIBRARIES} )
    add_test( C99_OpenCL_BufferTests test_buffer_opencl_c99 )

    # --------------------------------------------------------------------------
    # test_track_opencl:

#     add_executable( test_track_opencl test_track.cpp )
#       target_link_libraries( test_track_opencl PRIVATE ${SIXTRACKL_TEST_LIBRARIES} )
#     set( UNIT_TEST_TARGETS ${UNIT_TEST_TARGETS} test_track_opencl )
#     add_test( OpenCLTrackTests test_track_opencl )

    # *************************************************************************
    # Set all properties:

    set_property(
        TARGET ${UNIT_TEST_TARGETS}
        APPEND PROPERTY INCLUDE_DIRECTORIES
        "${CMAKE_SOURCE_DIR}"
        "${CMAKE_SOURCE_DIR}/tests"
        $<BUILD_INTERFACE:${SIXTRACKL_GTEST_INCLUDE_DIRS}>
    )

    set_property( TARGET ${UNIT_TEST_TARGETS} PROPERTY CXX_STANDARD 11 )
    set_property( TARGET ${UNIT_TEST_TARGETS} PROPERTY CXX_STANDARD_REQUIRED ON )
    set_property( TARGET ${UNIT_TEST_TARGETS} PROPERTY COMPILE_OPTIONS
                  ${SIXTRACKLIB_CPU_FLAGS} -Wall -Werror -pedantic )

endif()<commit_msg>tests/sixtracklib/opencl: temporarily disable the automatic execution of the unit-test for the buffer roundtrip<commit_after># tests/sixtracklib/opencl/CMakeLists.txt

if( GTEST_FOUND )

    set(   UNIT_TEST_TARGETS )
    set(   SIXTRACKL_TEST_LIBRARIES ${SIXTRACKL_TEST_LIBRARIES}
         ${SIXTRACKL_GTEST_LIBRARIES} sixtrack_test sixtrack m dl )

    # --------------------------------------------------------------------------
    # test_buffer_opencl_c99:

    add_executable( test_buffer_opencl_c99 test_buffer_opencl_c99.cpp )
    set( UNIT_TEST_TARGETS ${UNIT_TEST_TARGETS} test_buffer_opencl_c99 )
    target_link_libraries( test_buffer_opencl_c99 PRIVATE ${SIXTRACKL_TEST_LIBRARIES} )
#     add_test( C99_OpenCL_BufferTests test_buffer_opencl_c99 )

    # --------------------------------------------------------------------------
    # test_track_opencl:

#     add_executable( test_track_opencl test_track.cpp )
#       target_link_libraries( test_track_opencl PRIVATE ${SIXTRACKL_TEST_LIBRARIES} )
#     set( UNIT_TEST_TARGETS ${UNIT_TEST_TARGETS} test_track_opencl )
#     add_test( OpenCLTrackTests test_track_opencl )

    # *************************************************************************
    # Set all properties:

    set_property(
        TARGET ${UNIT_TEST_TARGETS}
        APPEND PROPERTY INCLUDE_DIRECTORIES
        "${CMAKE_SOURCE_DIR}"
        "${CMAKE_SOURCE_DIR}/tests"
        $<BUILD_INTERFACE:${SIXTRACKL_GTEST_INCLUDE_DIRS}>
    )

    set_property( TARGET ${UNIT_TEST_TARGETS} PROPERTY CXX_STANDARD 11 )
    set_property( TARGET ${UNIT_TEST_TARGETS} PROPERTY CXX_STANDARD_REQUIRED ON )
    set_property( TARGET ${UNIT_TEST_TARGETS} PROPERTY COMPILE_OPTIONS
                  ${SIXTRACKLIB_CPU_FLAGS} -Wall -Werror -pedantic )

endif()
{'fraction_non_alphanumeric': 0.19264194669756662, 'fraction_numerical': 0.009269988412514484, 'mean_word_length': 2.937286202964652, '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': '354617', 'n_tokens_mistral': 1176, 'n_tokens_neox': 1111, 'n_words': 167}