[master 1/1] check if gnome-icon-theme and gnome-icon-theme-symbolic are installed otherwise tests/glade/icons/check_icons.py produces false negatives

atodorov installerbot-noreply at redhat.com
Mon Mar 16 12:02:55 UTC 2015


From: Alexander Todorov <atodorov at redhat.com>

---
 tests/glade/run_glade_tests.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/tests/glade/run_glade_tests.sh b/tests/glade/run_glade_tests.sh
index 8ebcbfe..9ff3a2f 100755
--- a/tests/glade/run_glade_tests.sh
+++ b/tests/glade/run_glade_tests.sh
@@ -5,6 +5,18 @@ if ! type parallel 2>&1 > /dev/null; then
     exit 99
 fi
 
+if ! rpm -q gnome-icon-theme &> /dev/null; then
+    # used in icons/check_icons.py;tests/lib/iconcheck.py
+    echo "gnome-icon-theme must be installed"
+    exit 99
+fi
+
+if ! rpm -q gnome-icon-theme-symbolic &> /dev/null; then
+    # used in icons/check_icons.py;tests/lib/iconcheck.py
+    echo "gnome-icon-theme-symbolic must be installed"
+    exit 99
+fi
+
 : "${top_srcdir:=$(dirname "$0")/../..}"
 . "${top_srcdir}/tests/testenv.sh"
 srcdir="${top_srcdir}/tests/glade"


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/41486886eaf3306aaf6688ae9c4d46f6ede92b73


More information about the anaconda-patches mailing list