lyx_mirror/development/keystest
Vincent van Ravesteijn d9fa978617 Help the clueless user (me).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30655 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 21:48:40 +00:00
..
autolyx Next contribution to key tests from John McCabe-Dansted. 2009-07-10 15:52:43 +00:00
find_in_finals Flags 2009-07-10 15:57:41 +00:00
keytest.py Flags 2009-07-10 15:57:41 +00:00
killtest.sh Next patch from John McCabe-Dansted. 2009-06-17 17:56:56 +00:00
killtestpy.sh Next patch from John McCabe-Dansted. 2009-06-17 17:56:56 +00:00
lyx_make.sh Help the clueless user (me). 2009-07-17 21:48:40 +00:00
maketar.sh Move to the correct directory structure. 2009-06-15 20:20:20 +00:00
README We get permission on list, add to credits. 2009-06-15 20:20:26 +00:00
report_html.sh Flags 2009-07-10 15:57:41 +00:00
report.sh Next patch from John McCabe-Dansted. 2009-06-17 17:56:56 +00:00
start_tests.sh Next patch from John McCabe-Dansted. 2009-06-17 17:56:56 +00:00
stock_text Test of brute-force key typing to test lyx for crashes. 2009-06-15 20:20:14 +00:00
TODO Next contribution to key tests from John McCabe-Dansted. 2009-07-10 15:52:43 +00:00
watch_keytest.sh Flags 2009-07-10 15:57:41 +00:00

--- LyXtest ---

This is a program to spam LyX with millions of randomly generated key
presses, and collect the crash results.

Since the code involves spamming random keypresses, I'd recommend
running it in a VM, well away from your main X windows session.

In short, to use this, run development/keytest/lyx_make.sh

It requires the following packages to run
  xvkbd wmctrl
the following are also useful:
   lyx libqt4-dbg subversion automake

It is run by running ./autolyx in one xterm, and ./test.py in another.
I wrote lyx_make.sh as a easy way of updating lyx and running these two
programs together.

CONTENTS:

README: this readme file
report.sh: A quick way of generating bug reports and an overview from the logs.
autolyx: A script to continually restart lyx and collect the bug reports
lyx_make.sh: should updates, compiles, and everything needed to generated logs.
maketar.sh: Makes this tar file :)
test.py: Sends LT100 randomly generated keypresses per second to the LyX window.
killtest: stop the testing
stock_text: The stock test to add to each bug report.

OUTPUTS:

autolyx: Outputs out/GDB, a log of all output, including backtraces.
test.py: Outputs out/KEYCODES, a list of all keycodes sent to LyX

reports.sh: Outputs
  out/overview: an overview of all the frequency of each error
  out/overview_sort: as above but sorted
  out/report_*: A collection of autogenerated bug reports.

AUTHOR:
Copyright (C) 2009 John McCabe-Dansted, gmatht at gmail dot com.
Published under the Gnu General Public Licence, version 2 or later.