Commit Graph

19 Commits

Author SHA1 Message Date
Tommaso Cucinotta
36b6296791 Fixing previous mess with git stash (apologies). 2013-11-13 20:07:53 +00:00
Tommaso Cucinotta
a2291edac6 Now run-tests.sh captures PROGRAM_SUFFIX from config.h, in order to use the correct .lyx folder name. 2013-11-13 02:41:38 +00:00
Tommaso Cucinotta
777156e0ff Added self-sanity-check for presence of pcregrep, otherwise many (almost all) tests will fail. 2013-11-13 02:13:32 +00:00
Tommaso Cucinotta
073561ca63 Allow for keeping succesful tests output directories if the V env variable is non-null. 2012-12-15 12:07:31 +00:00
Tommaso Cucinotta
5c6f72b96e Advanced find autotests now working again.
Make autotests work again on Ubuntu 12.04 (when launched from English language).
Add extra check and notification if wmctrl is missing.
2012-10-13 00:47:06 +01:00
Tommaso Cucinotta
db592baf0e Recovered autotests for *-in.txt tests.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39265 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 00:13:12 +00:00
Tommaso Cucinotta
bf5f1eb3e8 Added the possibility to build arbitrary scripts (*-in.sh) as tests. They are all launched
together with the others when typing 'make', and also they can be selectively
launched by using: ./run-tests.sh filename-in.sh.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39241 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-03 17:00:18 +00:00
Kornel Benko
b66dcc5536 Revert no intended change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38722 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 13:35:10 +00:00
Kornel Benko
45b61c6ecf 1.) Corrected internal compilation for Libintl
2.) Changed cmake-files accordingly
Patch from Jean-Marc Lasgouttes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38606 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-06 19:24:54 +00:00
Tommaso Cucinotta
9e9874c0ab Avoid stop_autotests termination message when it is killed at normal termination of test-case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37600 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-12 11:05:04 +00:00
Tommaso Cucinotta
ac56711021 Added version suffix to symlinks. Tested with --enable-version-suffix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37598 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-11 23:27:34 +00:00
Tommaso Cucinotta
dcf0eb944e Now the framework works running LyX in the language required by the test
script (if any) also when LyX is not installed on your system
(using a variant of the trick suggested by Enrico, i.e., create a symlink
locale from the LyX sources root to an autotests/locale folder).
At least, it does on Linux.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37589 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-10 22:33:23 +00:00
Tommaso Cucinotta
3596e02d6a Suppress killall output when killing STOP button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37560 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-08 00:14:23 +00:00
Tommaso Cucinotta
16d57e550f Forgot to terminate the emergency button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37552 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 23:37:34 +00:00
Tommaso Cucinotta
939796f137 Added emergency STOP button in tcl/tk window for immediate & painless termination of the tests.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37551 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 23:32:27 +00:00
Tommaso Cucinotta
89620e1481 Made use of internal hacked xvkbd optional. Now it is needed and
used only if the XVKBD_HACKED environment var is defined.
Made keytest.py exploit the -wait_idle option of the hacked xvkbd.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37521 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-06 22:50:07 +00:00
Tommaso Cucinotta
1f51de3cd1 Added custom xvkbd for avoiding typing into other windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37439 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 23:18:16 +00:00
Tommaso Cucinotta
705759d678 Added the creation of a custom .lyx folder inside pwd/home/.lyx at
the beginning of the tests (which reconfigures LyX and takes some time),
followed by all of the tests using it. This way, we get only the default
configuration of LyX as a base, without being affected by individual users
custom configurations.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37408 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-01 22:08:07 +00:00
Tommaso Cucinotta
5f50ae8f08 Added basic automated testing capability, based on the MonKey Test (keytest.py) by McCabe-Dansted.
As of now, I plan to add a few regression tests for the Advanced Find & Replace using this engine.
It can be used for automated testing of other LyX subsystems as well. Just write your own *-in.txt
scripts and add them into the autotests/ folder.

TODOs:
- perhaps simplify keytest.py
- check how this behaves under various types of failure of the test
  (e.g., LyX crashing, hanging, ...) just to be sure it goes on with
  the other tests anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37364 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-29 14:42:53 +00:00