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

0.6.0: ctest cannot find any test units with BUILD_TESTS=ON #310

Open
kloczek opened this issue Aug 5, 2022 · 2 comments
Open

0.6.0: ctest cannot find any test units with BUILD_TESTS=ON #310

kloczek opened this issue Aug 5, 2022 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@kloczek
Copy link

kloczek commented Aug 5, 2022

Despite setup cmake with BUILD_TESTS=ON ctset cannot find any units


[tkloczko@pers-jacek x86_64-redhat-linux-gnu]$ ctest -vv
Test project /home/tkloczko/rpmbuild/BUILD/kImageAnnotator-0.6.0/x86_64-redhat-linux-gnu
No tests were found!!!
@kloczek kloczek changed the title 0.6.0: ctets cannot find any test units with BUILD_TESTS=ON 0.6.0: ctest cannot find any test units with BUILD_TESTS=ON Aug 5, 2022
@DamirPorobic
Copy link
Member

Have tried running this from the /build/tests directory where build is the directory where kImageAnnotator was built?
See how the CI runs them (there is some magic for headless execution): https://github.com/ksnip/kImageAnnotator/blob/master/.github/workflows/linux.yml

@DamirPorobic DamirPorobic added the question Further information is requested label Aug 22, 2022
@DamirPorobic DamirPorobic self-assigned this Aug 22, 2022
@kloczek
Copy link
Author

kloczek commented Aug 22, 2022

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

No branches or pull requests

2 participants