]> git.lyx.org Git - lyx.git/blob - development/keystest/lyx_make.sh
Move to the correct directory structure.
[lyx.git] / development / keystest / lyx_make.sh
1 #!/bin/bash
2 #This script updates LyX, runs LyX, starts spamming it with hundreds of 
3 #keypresses, and logs all output, including backtraces to development/keystest/out/GDB .
4 #Use report.sh to generated the more useful bug reports in development/keystest/out/{or}*
5
6 LT=development/keystest
7
8 if ! [ -d $LT ]; then
9  echo lyx_make.sh is supposed to be in the root of the lyx svn tree, eg. development/keystest/lyx_make.sh. 
10 fi
11
12 mkdir -p $LT/out
13 if which wmctrl xvkbd bash xterm python
14 then 
15  svn up
16  ./autogen.sh && ./configure --enable-debug -- && nice -18 make && (bash $LT/autolyx & sleep 9 ; xterm -e python $LT/test.py)
17 else
18  echo NEEDS the following packages: 
19  echo wmctrl xvkbd bash xterm python
20 fi