X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fkeystest%2Flyx_make.sh;h=153b6256c47bf05b64755640df6fa7d87e8dc0b7;hb=e798db5739871aaa29f95de321c52f19058064c9;hp=b9e5d590f29b4c5e817111869ac30cd86bce3020;hpb=752099a7c55282635a686e3203a45405381c387d;p=lyx.git diff --git a/development/keystest/lyx_make.sh b/development/keystest/lyx_make.sh index b9e5d590f2..153b6256c4 100755 --- a/development/keystest/lyx_make.sh +++ b/development/keystest/lyx_make.sh @@ -11,20 +11,24 @@ if ! [ -d $LT ]; then fi mkdir -p $LT/out -if which wmctrl xvkbd bash xterm python +if which wmctrl xvkbd bash xterm python xclip then if [ a"$1" == a--update ]; then svn up - ./autogen.sh && ./configure --enable-debug -- && nice -18 make && (bash $LT/autolyx & sleep 9 ; xterm -e python $LT/test.py) + ./autogen.sh && ./configure --enable-debug -- && nice -18 make && + if [ ! a"$2" == a"0" ] + then + bash $LT/autolyx + fi else DBG=`src/lyx --version 2>&1 | grep C++.Compiler.flags|grep -- -g`; if [ -z "$DBG" ]; then echo Wrong build of LyX binary. ; exit; fi - bash $LT/autolyx & sleep 9 ; xterm -e python $LT/test.py + bash $LT/autolyx fi else echo NEEDS the following packages: - echo wmctrl xvkbd bash xterm python + echo wmctrl xvkbd bash xterm python xclip fi