3 # This script invokes the keytest.py script with the simple set-up needed
4 # to re-run deterministic regression tests that one would like to have.
6 # Usage: run-test.sh <test-in.txt>
8 # See the hello-world-in.txt for an example syntax and description
10 KEYTEST=${KEYTEST:-./keytest.py}
12 export KEYTEST_OUTFILE=out.txt
13 export KEYTEST_INFILE=in-sample.txt
14 if [ "$1" != "" ]; then
19 if [ "$(pidof lyx)" != "" ]; then
20 export LYX_PID=$(pidof lyx)
21 export LYX_WINDOW_NAME=$(wmctrl -l | grep " $LYX_PID " | cut -d ' ' -f 1);
24 export LYX_EXE=${LYX_EXE:-../../src/lyx}
26 if [ "$XVKBD_HACKED" != "" ]; then
27 export XVKBD_EXE=${XVKBD_EXE:-./xvkbd/xvkbd};
29 export XVKBD_EXE=${XVKBD_EXE:-xvkbd};