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

Testing seems to be broken #530

Closed
SLieve opened this issue Dec 15, 2023 · 2 comments · Fixed by #531
Closed

Testing seems to be broken #530

SLieve opened this issue Dec 15, 2023 · 2 comments · Fixed by #531

Comments

@SLieve
Copy link
Contributor

SLieve commented Dec 15, 2023

To reproduce:

$ mkdir build && cd build && cmake -DENABLE_ROARING_TESTS=ON .. && cmake --build . && ctest
-- The CXX compiler identification is Clang 14.0.0
-- The C compiler identification is Clang 14.0.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- No build type selected, default to Release
CMake Error at tools/cmake/FindCTargets.cmake:7 (CPMAddPackage):
  Unknown CMake command "CPMAddPackage".
Call Stack (most recent call first):
  CMakeLists.txt:52 (find_package)


-- Configuring incomplete, errors occurred!

Without -DENABLE_ROARING_TESTS=ON:

$ mkdir build && cd build && cmake .. && cmake --build . && ctest
...
[100%] Built target roaring
Test project CRoaring/build
No tests were found!!!
@lemire
Copy link
Member

lemire commented Dec 16, 2023

You are correct. This is getting fixed at #531

It was accidental.

@lemire
Copy link
Member

lemire commented Dec 16, 2023

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

Successfully merging a pull request may close this issue.

2 participants