]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/run-tests.sh
support for the Iwona fonts
[lyx.git] / development / autotests / run-tests.sh
index b1ddf6ea0c9e298d0e177495f16f3de60e9f4f4c..a3f7d12eb4cfae8103269bec328707f7f067be82 100755 (executable)
@@ -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
@@ -94,7 +100,7 @@ for tf in $(echo "$TESTS"); do
     if $cmd > test-log.txt 2>&1; then
        echo Ok
        cd ..
-       rm -rf "out-$t";
+       if [ "$V" != "" ]; then rm -rf "out-$t"; fi
     else
        echo FAILED
        cd ..