mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-15 17:53:04 +00:00
ce4b91c109
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32820 a592a061-630c-0410-9148-cb99ea01b6c8 |
||
---|---|---|
.. | ||
add_write_perms.sh | ||
autolyx | ||
cache-bisect.py | ||
cache-bisect.sh | ||
doNtimes.sh | ||
find_in_finals | ||
initXvfb | ||
keytest.py | ||
killtest.sh | ||
killtestpy.sh | ||
list_all_children.sh | ||
lyx_make.sh | ||
main.sh | ||
make_screen_shots.sh | ||
make_screenshot_html.py | ||
maketar.sh | ||
README | ||
report_html.sh | ||
report.sh | ||
reproduce.sh | ||
setup.sh | ||
shared_functions.sh | ||
shared_variables.sh | ||
start_tests.sh | ||
stock_text | ||
TODO | ||
view1 | ||
watch_keytest.sh |
--- 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 run it under a special user "keytest", well away from my main X windows session. To use this software, first configure it by editing the configuration parameters in shared_functions.sh and shared_variables.sh then run the following: ./setup.sh # add keytest user and apt-get required files sudo -H -u keytest -e xterm # Create a xterm for running keytest in . ./initXvfb # sets up a fake X server for keytest to play in ./main.sh Note that this bug finding software is itself quite buggy. CONTENTS: README: this readme file report_html.sh: A quick way of generating bug reports and an overview from the logs. make_screen_shots.sh: a script for making screenshots, if they are missing from output of above. autolyx: A script to continually restart lyx and collect the bug reports maketar.sh: Makes this tar file :) keytest.py: Sends randomly generated keypresses to the LyX window. killtest: stop the testing stock_text: The stock test to add to each bug report. watch_keytest.sh: Dumps various info on what keytest is doing, often run as "watch watch_keytest.sh" OUTPUTS: autolyx: Outputs out/*.GDB, a log of all output, including backtraces. keytest.py: Outputs out/*.KEYCODES, a list of all keycodes sent to LyX TIPS: To reduce the degree to which keytest writes to your HDD, you may want to run mount -t tmpfs -o size=50m tmpfs /home/keytest/kt.dir as root AUTHOR: Copyright (C) 2009 John McCabe-Dansted, gmatht at gmail dot com. Published under the Gnu General Public Licence, version 2 or later.