From: Tommaso Cucinotta Date: Wed, 13 Nov 2013 02:13:32 +0000 (+0000) Subject: Added self-sanity-check for presence of pcregrep, otherwise many (almost all) tests... X-Git-Tag: 2.1.0rc1~433 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=777156e0ff41aa1d14cb185928c8ef4c7b4dd251;p=features.git Added self-sanity-check for presence of pcregrep, otherwise many (almost all) tests will fail. --- diff --git a/development/autotests/run-tests.sh b/development/autotests/run-tests.sh index a3f7d12eb4..d2556dadc8 100755 --- a/development/autotests/run-tests.sh +++ b/development/autotests/run-tests.sh @@ -21,6 +21,12 @@ if [ "$(which wmctrl)" == "" ]; then exit -1; fi +if [ "$(which pcregrep)" == "" ]; then + echo "You need to install pcregrep first, try:" + echo " sudo apt-get install pcregrep" + exit -1; +fi + export XVKBD_EXE=../$XVKBD_EXE export KEYTEST=../keytest.py LYX_HOME=out-home