[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [skrooge] tests/scripts: warning in tests
From:       Stephane Mankowski <stephane () mankowski ! fr>
Date:       2013-05-31 20:42:19
Message-ID: 20130531204219.8F4C6A6067 () git ! kde ! org
[Download RAW message or body]

Git commit 4a6c5f7066c8fe51de88ccef1147e6a70193a293 by Stephane Mankowski.
Committed on 31/05/2013 at 22:42.
Pushed by smankowski into branch 'master'.

warning in tests

M  +2    -2    tests/scripts/init.sh.in
M  +4    -1    tests/scripts/skgtestimportweboob.sh

http://commits.kde.org/skrooge/4a6c5f7066c8fe51de88ccef1147e6a70193a293

diff --git a/tests/scripts/init.sh.in b/tests/scripts/init.sh.in
index ab4069f..fdc2091 100755
--- a/tests/scripts/init.sh.in
+++ b/tests/scripts/init.sh.in
@@ -6,7 +6,7 @@ squishrun()
 	type squishserver > /dev/null 2>&1
 	rc=$?
 	if [ $rc != 0 ] ; then
-		echo "squish not found"
+		echo "[WARNING]: squish not found"
 		echo "Please install it and add it in PATH"
 		echo "You can find it here: \
http://www.froglogic.com/pg?id=Products&category=squish&sub=editions&subsub=kde"  \
rc=0 @@ -65,7 +65,7 @@ sikulirun()
         type sikuli-ide > /dev/null 2>&1
         rc=$?
         if [ $rc != 0 ] ; then
-                echo "sikuli not found"
+                echo "[WARNING]: sikuli not found"
                 echo "Please install it and add it in PATH"
                 echo "You can find it here: http://www.sikuli.org/"
                 rc=0
diff --git a/tests/scripts/skgtestimportweboob.sh \
b/tests/scripts/skgtestimportweboob.sh index 6a11980..a8f99f4 100755
--- a/tests/scripts/skgtestimportweboob.sh
+++ b/tests/scripts/skgtestimportweboob.sh
@@ -10,7 +10,10 @@ unset XDG_CONFIG_HOME
 
 type boobank > /dev/null 2>&1
 rc=$?
-if [ $rc = 0 ] ; then
+if [ $rc != 0 ] ; then
+    echo "[WARNING]: boobank not found"
+    rc=0
+else    
     ${EXE}
     rc=$?
     if [ $rc != 0 ] ; then


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic