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

atodorov installerbot-noreply at redhat.com
Tue Mar 10 14:01:09 UTC 2015


From: Alexander Todorov <atodorov at redhat.com>

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

diff --git a/tests/glade/run_glade_tests.sh b/tests/glade/run_glade_tests.sh
index 8ebcbfe..bc3367c 100755
--- a/tests/glade/run_glade_tests.sh
+++ b/tests/glade/run_glade_tests.sh
@@ -5,6 +5,13 @@ if ! type parallel 2>&1 > /dev/null; then
     exit 99
 fi
 
+if ! rpm -q gnome-icon-theme 2>&1 > /dev/null; then
+    # used in icons/check_icons.py;tests/lib/iconcheck.py
+    echo "gnome-icon-theme 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/896c20534150dee2fa2d0126fd9cc65096ac7caa


More information about the anaconda-patches mailing list