commit:     08819e2c0d3643729488b2236d191d27303e62af
Author:     Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Wed Feb 23 15:18:01 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Wed Feb 23 16:01:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=08819e2c

gnome-extra/extension-manager: Add comments about the package's tests

Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>

 .../extension-manager/extension-manager-9999.ebuild   | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/gnome-extra/extension-manager/extension-manager-9999.ebuild 
b/gnome-extra/extension-manager/extension-manager-9999.ebuild
index 1bf8f484c..4a5dfc5e0 100644
--- a/gnome-extra/extension-manager/extension-manager-9999.ebuild
+++ b/gnome-extra/extension-manager/extension-manager-9999.ebuild
@@ -42,9 +42,24 @@ src_configure() {
        meson_src_configure
 }
 
-# disable AppStream test
+# Tests are skipped because as of version 0.2.3, the tests only validate
+# resource files and do not verify any functionality of the program.  Those
+# validations are either already handled by QA checks or are not relevant on
+# Gentoo.  For more information about the rationale, please refer to:
+# 
https://github.com/gentoo/guru/commit/f896bee213fbb62c70e818c1bf503fee2a41919a#comments
+#
+# If tests are to be executed in the future because the upstream adds
+# functionality tests in the future or for other reasons, and should there be
+# no convenient way to skip the validations, the following variable values need
+# to be set:
+#
+# IUSE="test"
+# # 'Validate appstream file' test case requires Internet connection
+# PROPERTIES="test_network"
+# RESTRICT="test"
+# BDEPEND="test? ( dev-libs/appstream-glib dev-util/desktop-file-utils )"
 src_test() {
-:
+       :
 }
 
 pkg_postinst() {

Reply via email to