Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable data_provider and dbsync tests on Windows #602

Open
TomasTurina opened this issue Feb 13, 2025 · 0 comments
Open

Enable data_provider and dbsync tests on Windows #602

TomasTurina opened this issue Feb 13, 2025 · 0 comments
Labels

Comments

@TomasTurina
Copy link
Member

Description

It has been identified that the sysinfo and dbsync tests are not running on Windows.

In fact, they are being skipped this way:

  • sysinfo
  if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
    if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
      target_link_libraries(sysinfo PRIVATE -fprofile-arcs)
    else()
      target_link_libraries(sysinfo PRIVATE gcov)
    endif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")

    add_subdirectory(tests)
  endif(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
  • dbsync
  if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
    if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
      target_link_libraries(dbsync -fprofile-arcs)
    else()
      target_link_libraries(dbsync gcov)
    endif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")

    add_subdirectory(tests)
    add_subdirectory(integrationTests)
  endif(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")

As part of this issue, this tests should be enabled and fixed so they can successfully run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant