commit: 8a04cb92c7caaff1db47d2253d96469af42ea0b1 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Sun Jan 21 18:46:41 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jan 22 05:54:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a04cb92
net-p2p/qbittorrent: add comment explaining why cmake_src_test isn't used Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild | 2 ++ net-p2p/qbittorrent/qbittorrent-4.6.2-r1.ebuild | 2 ++ net-p2p/qbittorrent/qbittorrent-9999.ebuild | 2 ++ 3 files changed, 6 insertions(+) diff --git a/net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild b/net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild index f01ecb3233cc..59e8d99bcc36 100644 --- a/net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild +++ b/net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild @@ -124,6 +124,8 @@ src_compile() { src_test() { my_src_test() { + # cmake does not detect tests by default, if you use enable_testing + # in a subdirectory instead of the root CMakeLists.txt cd "${BUILD_DIR}"/test || die edo ctest . } diff --git a/net-p2p/qbittorrent/qbittorrent-4.6.2-r1.ebuild b/net-p2p/qbittorrent/qbittorrent-4.6.2-r1.ebuild index aea6929464d7..1c8f0230fd60 100644 --- a/net-p2p/qbittorrent/qbittorrent-4.6.2-r1.ebuild +++ b/net-p2p/qbittorrent/qbittorrent-4.6.2-r1.ebuild @@ -120,6 +120,8 @@ src_compile() { src_test() { my_src_test() { + # cmake does not detect tests by default, if you use enable_testing + # in a subdirectory instead of the root CMakeLists.txt cd "${BUILD_DIR}"/test || die edo ctest . } diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild b/net-p2p/qbittorrent/qbittorrent-9999.ebuild index b5ae2f148965..3bb8284e631e 100644 --- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild +++ b/net-p2p/qbittorrent/qbittorrent-9999.ebuild @@ -124,6 +124,8 @@ src_compile() { src_test() { my_src_test() { + # cmake does not detect tests by default, if you use enable_testing + # in a subdirectory instead of the root CMakeLists.txt cd "${BUILD_DIR}"/test || die edo ctest . }