<commit_before>include_directories(.
        /usr/local/include/python3.7m
        /opt/googletest/include)

include_directories(/opt/googletest/googletest/include /opt/googletest/googletest/
        ../src/resources
        ..)

add_library(setupBasicClassLib cpp/setup_basic_class.cpp )
add_library(setupInheritanceLib cpp/setup_inheritance_test.cpp )
add_library(setupBitFieldsLib cpp/setup_bitfields.cpp )

add_executable(runPyllarsTest
        /opt/googletest/googletest/src/gtest_main.cc
        /opt/googletest/googletest/src/gtest-all.cc
        cpp/test_anon_enums.cpp
        cpp/test_conversions.cpp
        cpp/class_test_defns.h
        cpp/anon_enum_defns.h
        cpp/setup.h
        cpp/setup_basic_class.h
        cpp/setup_anon_enums.cpp
        cpp/setup_anon_enums.hpp
        cpp/setup_bitfields.h
        cpp/setup_inheritance_test.h
        cpp/test_basic_classes.cpp
        cpp/test_inheritance.cpp
        cpp/test_bit_fields.cpp
        cpp/test_initializer.cpp)

target_link_libraries(runPyllarsTest PUBLIC -L/usr/local/lib64 -lpython3.7m pthread pyllars ffi dl util
        setupBasicClassLib setupInheritanceLib setupBitFieldsLib)

add_custom_target(testCoverage ALL
        DEPENDS runPyllarsTest
        COMMAND ./runPyllarsTest && mkdir -p res && lcov -o res/testcov.out -c -d . && genhtml -o res res/testcov.out && google-chrome --new-window ./res/pyllars/index.html
        WORKING_DIRECTORY .
        COMMENT Generated test coverage)

add_executable(runContainmentTests
        /opt/googletest/googletest/src/gtest_main.cc
        /opt/googletest/googletest/src/gtest-all.cc
        cpp/test_containment.cpp
        )
target_link_libraries(runContainmentTests PUBLIC pthread)

add_custom_target(testCoverageContainment ALL
        DEPENDS runContainmentTests
        COMMAND ./runContainmentTests && mkdir -p res && lcov -o res/testcov.out -c -d . && genhtml -o res res/testcov.out && google-chrome --new-window ./res/pyllars/index.html
        WORKING_DIRECTORY .
        COMMENT Generated test coverage)


add_executable(runBasicClassTests
        /opt/googletest/googletest/src/gtest_main.cc
        /opt/googletest/googletest/src/gtest-all.cc
        cpp/test_basic_classes.cpp)
target_link_libraries(runBasicClassTests PUBLIC -L/usr/local/lib64 -lpython3.7m pthread pyllars ffi dl util setupBasicClassLib)


add_executable(runInheritanceTests
        /opt/googletest/googletest/src/gtest_main.cc
        /opt/googletest/googletest/src/gtest-all.cc
        cpp/test_inheritance.cpp
        )
target_link_libraries(runInheritanceTests PUBLIC -L/usr/local/lib64 -lpython3.7m pthread pyllars ffi dl util
        setpInheritanceLib setupBasicClassLib)



add_executable(runBitFieldTests
        /opt/googletest/googletest/src/gtest_main.cc
        /opt/googletest/googletest/src/gtest-all.cc
        cpp/test_bit_fields.cpp)
target_link_libraries(runBitFieldTests PUBLIC -L/usr/local/lib64 -lpython3.7m pthread pyllars ffi dl util
        setupBitfieldsLib)

<commit_msg>Lib ordering fix; ugh :-/<commit_after>include_directories(.
        /usr/local/include/python3.7m
        /opt/googletest/include)

include_directories(/opt/googletest/googletest/include /opt/googletest/googletest/
        ../src/resources
        ..)

add_library(setupBasicClassLib cpp/setup_basic_class.cpp )
add_library(setupInheritanceLib cpp/setup_inheritance_test.cpp )
add_library(setupBitFieldsLib cpp/setup_bitfields.cpp )

add_executable(runPyllarsTest
        /opt/googletest/googletest/src/gtest_main.cc
        /opt/googletest/googletest/src/gtest-all.cc
        cpp/test_anon_enums.cpp
        cpp/test_conversions.cpp
        cpp/class_test_defns.h
        cpp/anon_enum_defns.h
        cpp/setup.h
        cpp/setup_basic_class.h
        cpp/setup_anon_enums.cpp
        cpp/setup_anon_enums.hpp
        cpp/setup_bitfields.h
        cpp/setup_inheritance_test.h
        cpp/test_basic_classes.cpp
        cpp/test_inheritance.cpp
        cpp/test_bit_fields.cpp
        cpp/test_initializer.cpp)

target_link_libraries(runPyllarsTest PUBLIC -L/usr/local/lib64 -lpython3.7m pthread  ffi dl util
        setupBasicClassLib setupInheritanceLib setupBitFieldsLib pyllars)

add_custom_target(testCoverage ALL
        DEPENDS runPyllarsTest
        COMMAND ./runPyllarsTest && mkdir -p res && lcov -o res/testcov.out -c -d . && genhtml -o res res/testcov.out && google-chrome --new-window ./res/pyllars/index.html
        WORKING_DIRECTORY .
        COMMENT Generated test coverage)

add_executable(runContainmentTests
        /opt/googletest/googletest/src/gtest_main.cc
        /opt/googletest/googletest/src/gtest-all.cc
        cpp/test_containment.cpp
        )
target_link_libraries(runContainmentTests PUBLIC pthread)

add_custom_target(testCoverageContainment ALL
        DEPENDS runContainmentTests
        COMMAND ./runContainmentTests && mkdir -p res && lcov -o res/testcov.out -c -d . && genhtml -o res res/testcov.out && google-chrome --new-window ./res/pyllars/index.html
        WORKING_DIRECTORY .
        COMMENT Generated test coverage)


add_executable(runBasicClassTests
        /opt/googletest/googletest/src/gtest_main.cc
        /opt/googletest/googletest/src/gtest-all.cc
        cpp/test_basic_classes.cpp)
target_link_libraries(runBasicClassTests PUBLIC -L/usr/local/lib64 -lpython3.7m pthread pyllars ffi dl util setupBasicClassLib)


add_executable(runInheritanceTests
        /opt/googletest/googletest/src/gtest_main.cc
        /opt/googletest/googletest/src/gtest-all.cc
        cpp/test_inheritance.cpp
        )
target_link_libraries(runInheritanceTests PUBLIC -L/usr/local/lib64 -lpython3.7m pthread pyllars ffi dl util
        setpInheritanceLib setupBasicClassLib)

add_executable(runBitFieldTests
        /opt/googletest/googletest/src/gtest_main.cc
        /opt/googletest/googletest/src/gtest-all.cc
        cpp/test_bit_fields.cpp)
target_link_libraries(runBitFieldTests PUBLIC -L/usr/local/lib64 -lpython3.7m pthread setupBitFieldsLib
        pyllars ffi dl util
         )


{'fraction_non_alphanumeric': 0.08381646513168793, 'fraction_numerical': 0.005963226768262382, 'mean_word_length': 3.068733153638814, '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': '3582495', 'n_tokens_mistral': 2218, 'n_tokens_neox': 2067, 'n_words': 290}