summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-08-22 09:33:26 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-09-05 09:01:03 -0400
commitd1bb1449a64a21b48312dc2d80272b0df7df3844 (patch)
tree8be11f28c538ce7e8a1ee2a7dfcdc4e5d70cdbda
parentdev-qt/qtwayland: skip failing test + two that need compositor (qt6) (diff)
downloadgentoo-d1bb1449a64a21b48312dc2d80272b0df7df3844.tar.gz
gentoo-d1bb1449a64a21b48312dc2d80272b0df7df3844.tar.bz2
gentoo-d1bb1449a64a21b48312dc2d80272b0df7df3844.zip
dev-qt/qttools: restrict tests (qt6)
Insists on running tools from the system (fails if qttools is not installed), and even if force the paths (using qt.conf, or seds), it still has problem finding support files and most tests fail. Getting all this to work properly would likely be too messy. There's also an annoyance with FetchContent, albeit it'd be easy to handle. wrt clang, qdoc seems to produce correct output with >=clang-16 but the ordering is slightly altered (believed to be due to .cpp parsing being bit different) and cause some tests to fail simple diff comparison -- may not be worth worrying about. Originally was skipping a lot of tests, but it was utltimately not meaningful anymore (aka tools were not really tested). May revisit if the situation improves, albeit given believe upstream installs before running tests it may not. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--dev-qt/qttools/qttools-6.5.2.ebuild5
-rw-r--r--dev-qt/qttools/qttools-6.5.9999.ebuild5
-rw-r--r--dev-qt/qttools/qttools-6.9999.ebuild5
3 files changed, 15 insertions, 0 deletions
diff --git a/dev-qt/qttools/qttools-6.5.2.ebuild b/dev-qt/qttools/qttools-6.5.2.ebuild
index 2d917d3aaffa..c785f4d3df27 100644
--- a/dev-qt/qttools/qttools-6.5.2.ebuild
+++ b/dev-qt/qttools/qttools-6.5.2.ebuild
@@ -16,6 +16,11 @@ IUSE="
qattributionsscanner qdbus qdiag qdoc qplugininfo
"
+# behaves very badly when qttools is not already installed, also
+# other more minor issues (clang tests flaky depending on version,
+# and 3rdparty/ tries to FetchContent gtest)
+RESTRICT="test"
+
RDEPEND="
=dev-qt/qtbase-${PV}*:6[network]
assistant? ( =dev-qt/qtbase-${PV}*:6[sql,widgets] )
diff --git a/dev-qt/qttools/qttools-6.5.9999.ebuild b/dev-qt/qttools/qttools-6.5.9999.ebuild
index 2d917d3aaffa..c785f4d3df27 100644
--- a/dev-qt/qttools/qttools-6.5.9999.ebuild
+++ b/dev-qt/qttools/qttools-6.5.9999.ebuild
@@ -16,6 +16,11 @@ IUSE="
qattributionsscanner qdbus qdiag qdoc qplugininfo
"
+# behaves very badly when qttools is not already installed, also
+# other more minor issues (clang tests flaky depending on version,
+# and 3rdparty/ tries to FetchContent gtest)
+RESTRICT="test"
+
RDEPEND="
=dev-qt/qtbase-${PV}*:6[network]
assistant? ( =dev-qt/qtbase-${PV}*:6[sql,widgets] )
diff --git a/dev-qt/qttools/qttools-6.9999.ebuild b/dev-qt/qttools/qttools-6.9999.ebuild
index 2d917d3aaffa..c785f4d3df27 100644
--- a/dev-qt/qttools/qttools-6.9999.ebuild
+++ b/dev-qt/qttools/qttools-6.9999.ebuild
@@ -16,6 +16,11 @@ IUSE="
qattributionsscanner qdbus qdiag qdoc qplugininfo
"
+# behaves very badly when qttools is not already installed, also
+# other more minor issues (clang tests flaky depending on version,
+# and 3rdparty/ tries to FetchContent gtest)
+RESTRICT="test"
+
RDEPEND="
=dev-qt/qtbase-${PV}*:6[network]
assistant? ( =dev-qt/qtbase-${PV}*:6[sql,widgets] )