kImageAnnotator icon indicating copy to clipboard operation
kImageAnnotator copied to clipboard

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

Open kloczek opened this issue 1 year ago • 2 comments

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 avatar Aug 05 '22 15:08 kloczek

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 avatar Aug 22 '22 05:08 DamirPorobic

Here is example of ctest support https://cmake.org/cmake/help/book/mastering-cmake/chapter/Testing%20With%20CMake%20and%20CTest.html

kloczek avatar Aug 22 '22 09:08 kloczek