The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 5c6f72b96ec0fe2e5a3bd471a562b4ff8091525f
Author: Tommaso Cucinotta <[email protected]>
Date:   Sat Oct 13 00:47:06 2012 +0100

    Advanced find autotests now working again.
    
    Make autotests work again on Ubuntu 12.04 (when launched from English 
language).
    Add extra check and notification if wmctrl is missing.

diff --git a/development/autotests/keytest.py b/development/autotests/keytest.py
index 1753f14..95e996b 100755
--- a/development/autotests/keytest.py
+++ b/development/autotests/keytest.py
@@ -393,6 +393,7 @@ while not failed:
         lang = c[5:].rstrip()
         print "Setting LANG=" + lang + "\n"
         os.environ['LANG'] = lang
+        os.environ['LANGUAGE'] = lang
 # If it doesn't exist, create a link 
<locale_dir>/<country-code>/LC_MESSAGES/lyx<version-suffix>.mo
 # pointing to the corresponding .gmo file. Needed to let lyx find the right 
translation files.
 # See http://www.mail-archive.com/[email protected]/msg165613.html
diff --git a/development/autotests/run-tests.sh 
b/development/autotests/run-tests.sh
index b1ddf6e..3a175e7 100755
--- a/development/autotests/run-tests.sh
+++ b/development/autotests/run-tests.sh
@@ -15,6 +15,12 @@ if [ "$XVKBD_HACKED" != "" ]; then
     fi
 fi
 
+if [ "$(which wmctrl)" == "" ]; then
+    echo "You need to install wmctrl first, try:"
+    echo "  sudo apt-get install wmctrl"
+    exit -1;
+fi
+
 export XVKBD_EXE=../$XVKBD_EXE
 export KEYTEST=../keytest.py
 LYX_HOME=out-home

-----------------------------------------------------------------------

Summary of changes:
 development/autotests/keytest.py   |    1 +
 development/autotests/run-tests.sh |    6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to