2009-06-15 20:20:14 +00:00
|
|
|
#!/bin/bash
|
|
|
|
#This script updates LyX, runs LyX, starts spamming it with hundreds of
|
2009-06-15 20:20:20 +00:00
|
|
|
#keypresses, and logs all output, including backtraces to development/keystest/out/GDB .
|
|
|
|
#Use report.sh to generated the more useful bug reports in development/keystest/out/{or}*
|
2009-06-15 20:20:14 +00:00
|
|
|
|
2009-06-15 20:20:20 +00:00
|
|
|
LT=development/keystest
|
|
|
|
|
|
|
|
if ! [ -d $LT ]; then
|
|
|
|
echo lyx_make.sh is supposed to be in the root of the lyx svn tree, eg. development/keystest/lyx_make.sh.
|
|
|
|
fi
|
|
|
|
|
|
|
|
mkdir -p $LT/out
|
2009-06-15 20:20:14 +00:00
|
|
|
if which wmctrl xvkbd bash xterm python
|
|
|
|
then
|
2009-06-15 20:20:20 +00:00
|
|
|
svn up
|
|
|
|
./autogen.sh && ./configure --enable-debug -- && nice -18 make && (bash $LT/autolyx & sleep 9 ; xterm -e python $LT/test.py)
|
2009-06-15 20:20:14 +00:00
|
|
|
else
|
|
|
|
echo NEEDS the following packages:
|
|
|
|
echo wmctrl xvkbd bash xterm python
|
|
|
|
fi
|