mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
8a7b05f57c
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg154502.html git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31495 a592a061-630c-0410-9148-cb99ea01b6c8
62 lines
1.5 KiB
Bash
Executable File
62 lines
1.5 KiB
Bash
Executable File
|
|
NOW_SEC=`date +%s`
|
|
echo NOW_SEC $NOW_SEC
|
|
echo recently modified files:
|
|
LATEST_FILE=`ls out/* -td -1 | grep -v log | head -n1`
|
|
echo $LATEST_FILE | (
|
|
grep replay > /dev/null || (
|
|
ls out/* -lotd | head
|
|
)
|
|
)
|
|
ls out/* -tdo -1 | grep replay |head -n4
|
|
|
|
LATEST_FILE=`ls out/* -td -1 | grep replay | head -n1`
|
|
if [ $LATEST_FILE = "out/toreplay" ]
|
|
then
|
|
#echo foo
|
|
LATEST_FILE=`ls out/toreplay/* -td -1 | grep replay | head -n1`
|
|
fi
|
|
|
|
if [ $LATEST_FILE = "out/toreplay/replayed" ]
|
|
then
|
|
echo foo
|
|
LATEST_FILE=`ls out/toreplay/replayed/* -td -1 | grep replay | head -n1`
|
|
else
|
|
echo oof
|
|
fi
|
|
|
|
echo LATEST_FILE $LATEST_FILE
|
|
echo $LATEST_FILE | (
|
|
grep replay > /dev/null && (
|
|
if [ -e $LATEST_FILE/last_crash_sec ]
|
|
then
|
|
ls $LATEST_FILE/*re -lotd | head
|
|
SEC=`cat $LATEST_FILE/last_crash_sec`
|
|
echo $SEC $(($NOW_SEC-$SEC))
|
|
ls -l $LATEST_FILE/$SEC.KEYCODEpure | head -n4
|
|
echo `cat $LATEST_FILE/$SEC.KEYCODEpure | sed s/KK:\//g`
|
|
cat $LATEST_FILE/$SEC.GDB | grep "signal SIG" -A 15
|
|
else
|
|
ls $LATEST_FILE -lot | head
|
|
cat `echo $LATEST_FILE | sed s/KEYCODEpure.replay/GDB/` | grep "signal SIG" -A 29
|
|
fi
|
|
cat $LATEST_FILE/log | grep Bore | tail -n2
|
|
) || (
|
|
ls out/* -lotd | head
|
|
)
|
|
)
|
|
|
|
|
|
grep -F "autolyx:
|
|
Trace
|
|
reproduced
|
|
X_PID
|
|
x-session" out/log | grep -v kill | grep -v Terminated | tail -n 9
|
|
#exit
|
|
echo autolyx crashes ---------
|
|
grep autolyx: out/log | grep -v kill | grep -v Terminated #-A 5
|
|
echo python crashes ---------
|
|
grep -i -a Trace out/log -A 7 | tail -n8
|
|
#echo misc ----
|
|
#grep reproduced out/log | tail -n5
|